diff options
author | alex chen <alex.chen@huawei.com> | 2015-02-10 23:09:02 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-02-10 23:30:29 +0100 |
commit | 15eba0fe3eeaeb1b80489c1ebb9d47d6d7003f57 (patch) | |
tree | 1e83f68ee33bc709a53c0f9a1fd4a4ab1d8ee612 /init | |
parent | ocfs2: dlm: dlmdomain: remove unused function (diff) | |
download | linux-15eba0fe3eeaeb1b80489c1ebb9d47d6d7003f57.tar.xz linux-15eba0fe3eeaeb1b80489c1ebb9d47d6d7003f57.zip |
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 <alex.chen@huawei.com>
Reviewed-by: Joseph Qi <joseph.qi@huawei.com>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Mark Fasheh <mfasheh@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions