提交 3c1fcb2c 编写于 作者: N Namjae Jeon 提交者: Theodore Ts'o

ext4: add blk_finish_plug in error case of writepages.

blk_finish_plug is needed in error case of writepages.
Signed-off-by: NNamjae Jeon <linkinjeon@gmail.com>
Signed-off-by: N"Theodore Ts'o" <tytso@mit.edu>
上级 2397256d
......@@ -2270,6 +2270,7 @@ static int ext4_da_writepages(struct address_space *mapping,
ext4_msg(inode->i_sb, KERN_CRIT, "%s: jbd2_start: "
"%ld pages, ino %lu; err %d", __func__,
wbc->nr_to_write, inode->i_ino, ret);
blk_finish_plug(&plug);
goto out_writepages;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册