ext4: fix double unlock buffer mess during fs-resize
authorDmitry Monakhov <dmonakhov@openvz.org>
Wed, 26 Sep 2012 03:19:25 +0000 (23:19 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 26 Sep 2012 03:19:25 +0000 (23:19 -0400)
commit7f1468d1d50d368097ab13596dc08eaba7eace7f
tree6215860a4aabdec7d725ae901b13bba31514b583
parentf2a09af645b762f8230e7eba7fee3b6f7e6e96e7
ext4: fix double unlock buffer mess during fs-resize

bh_submit_read() is responsible for unlock bh on endio.  In addition,
we need to use bh_uptodate_or_lock() to avoid races.

Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/resize.c