commit | 6e2631463f3a2ce430a295c68aead3ff228ca3cf | [log] [tgz] |
---|---|---|
author | Dmitry Monakhov <dmonakhov@openvz.org> | Sun Jul 27 22:32:27 2014 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Sun Jul 27 22:32:27 2014 -0400 |
tree | 324ca15510faae1060b5df21b8c5e68c5939e8b0 | |
parent | 29faed1638e6b2ace499e1b848cc3337ef6a6ad5 [diff] |
ext4: fix incorrect locking in move_extent_per_page If we have to copy data we must drop i_data_sem because of get_blocks() will be called inside mext_page_mkuptodate(), but later we must reacquire it again because we are about to change extent's tree Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org> Signed-off-by: Theodore Ts'o <tytso@mit.edu> Reviewed-by: Jan Kara <jack@suse.cz>