]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
xfs: lock the AIL before removing the buffer item
authorDave Chinner <dchinner@redhat.com>
Tue, 24 Sep 2013 06:01:13 +0000 (16:01 +1000)
committerBen Myers <bpm@sgi.com>
Tue, 24 Sep 2013 17:31:41 +0000 (12:31 -0500)
commit4885235806bb95c3fad5a5238e323cb746c3a49b
tree2952172d9a17ca87227a50766f3d69bf8f290982
parent272b98c6455f00884f0350f775c5342358ebb73f
xfs: lock the AIL before removing the buffer item

Regression introduced by commit 46f9d2e ("xfs: aborted buf items can
be in the AIL") which fails to lock the AIL before removing the
item. Spinlock debugging throws a warning about this.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_buf_item.c