]> git.baikalelectronics.ru Git - kernel.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)
commit191cca7a9c8db1d2c060fc0ba45676e8c9143f59
tree2952172d9a17ca87227a50766f3d69bf8f290982
parent8d77f31568220a8293f2e30959e7772efe92c198
xfs: lock the AIL before removing the buffer item

Regression introduced by commit 4da1e00 ("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