]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ext4: restart ext4_ext_remove_space() after transaction restart
authorDmitry Monakhov <dmonakhov@openvz.org>
Mon, 17 May 2010 05:00:00 +0000 (01:00 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 6 Jan 2011 23:07:37 +0000 (18:07 -0500)
commite294c97acb0191aff9018e0a0ae9faa5b4c232b1
tree59afa054a23720c61eee1416581b54a20d8f1be8
parent4c5490b3020d6e4eb6190dd37073081f4d288599
ext4: restart ext4_ext_remove_space() after transaction restart

commit 0617b83fa239db9743a18ce6cc0e556f4d0fd567 upstream.

If i_data_sem was internally dropped due to transaction restart, it is
necessary to restart path look-up because extents tree was possibly
modified by ext4_get_block().

https://bugzilla.kernel.org/show_bug.cgi?id=15827

Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Acked-by: Jan Kara <jack@suse.cz>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
fs/ext4/extents.c