]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
commite9ffaa106bbba6a56cb82bc1d15ecb53bbbb7d7e
tree64848c183cb540ae665e00cde5823ec5cc59fa8c
parentf9195e3761173e161b5a8d8a0692bc83fd980725
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