From: alex chen Date: Tue, 10 Feb 2015 22:09:02 +0000 (-0800) Subject: ocfs2: fix journal commit deadlock in ocfs2_convert_inline_data_to_extents X-Git-Tag: fixes-v4.0-rc1~155^2~61 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=15eba0fe3eeaeb1b80489c1ebb9d47d6d7003f57;p=pandora-kernel.git ocfs2: fix journal commit deadlock in ocfs2_convert_inline_data_to_extents Similar to ocfs2_write_end_nolock() which is metioned at commit 136f49b91710 ("ocfs2: fix journal commit deadlock"), we should unlock pages before ocfs2_commit_trans() in ocfs2_convert_inline_data_to_extents. Otherwise, it will cause a deadlock with journal commit threads. Signed-off-by: Alex Chen Reviewed-by: Joseph Qi Cc: Joel Becker Cc: Mark Fasheh Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed