From: Dmitry Monakhov Date: Mon, 28 Jul 2014 02:32:27 +0000 (-0400) Subject: ext4: fix incorrect locking in move_extent_per_page X-Git-Tag: omap-for-v3.17/fixes-against-rc2~162^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e2631463f3a2ce430a295c68aead3ff228ca3cf;p=pandora-kernel.git 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 Signed-off-by: Theodore Ts'o Reviewed-by: Jan Kara --- Reading git-diff-tree failed