Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3c1fcb2c authored by Namjae Jeon's avatar Namjae Jeon Committed by Theodore Ts'o
Browse files

ext4: add blk_finish_plug in error case of writepages.



blk_finish_plug is needed in error case of writepages.

Signed-off-by: default avatarNamjae Jeon <linkinjeon@gmail.com>
Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
parent 2397256d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;
		}