ext4: restart ext4_ext_remove_space() after transaction restart
commitcfc3ed8bbe8eaa8b35326b10a8dc7aa6bb8da2a6
authorDmitry Monakhov <dmonakhov@openvz.org>
Mon, 31 May 2010 02:50:03 +0000 (30 22:50 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 2 Aug 2010 17:21:22 +0000 (2 10:21 -0700)
treed307d0c1e0cd51b6fc18f0c3f80afc16857555bf
parent6a68fa01f9eb787419ce10d4481617ed241f4b44
ext4: restart ext4_ext_remove_space() after transaction restart

commit 0617b83fa239db9743a18ce6cc0e556f4d0fd567 upstream (as of v2.6.34-git13)

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: Greg Kroah-Hartman <gregkh@suse.de>
fs/ext4/extents.c