ext4: add blk_finish_plug in error case of writepages.
blk_finish_plug is needed in error case of writepages. Signed-off-by: Namjae Jeon <linkinjeon@gmail.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
This commit is contained in:
committed by
Theodore Ts'o
parent
2397256d62
commit
3c1fcb2c24
@@ -2270,6 +2270,7 @@ retry:
|
|||||||
ext4_msg(inode->i_sb, KERN_CRIT, "%s: jbd2_start: "
|
ext4_msg(inode->i_sb, KERN_CRIT, "%s: jbd2_start: "
|
||||||
"%ld pages, ino %lu; err %d", __func__,
|
"%ld pages, ino %lu; err %d", __func__,
|
||||||
wbc->nr_to_write, inode->i_ino, ret);
|
wbc->nr_to_write, inode->i_ino, ret);
|
||||||
|
blk_finish_plug(&plug);
|
||||||
goto out_writepages;
|
goto out_writepages;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user