ext4: fix the deadlock in mpage_da_map_and_submit()
authorKazuya Mio <k-mio@sx.jp.nec.com>
Thu, 20 Oct 2011 23:23:08 +0000 (19:23 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 20 Oct 2011 23:23:08 +0000 (19:23 -0400)
If ext4_jbd2_file_inode() in mpage_da_map_and_submit() fails due to
journal abort, this function returns to caller without unlocking the
page.  It leads to the deadlock, and the patch fixes this issue by
calling mpage_da_submit_io().

Signed-off-by: Kazuya Mio <k-mio@sx.jp.nec.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>

No differences found