diff options
author | Namjae Jeon <linkinjeon@gmail.com> | 2011-11-07 11:01:13 -0500 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2011-11-07 11:01:13 -0500 |
commit | 3c1fcb2c24519febd7ca9cf292fa5bdf513b601f (patch) | |
tree | 9be412cacdd7778fc5826efdda0d135570929991 /fs/ext4/inode.c | |
parent | 2397256d6218e7bf5147a3b01dcc6aec20fd3916 (diff) |
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>
Diffstat (limited to 'fs/ext4/inode.c')
-rw-r--r-- | fs/ext4/inode.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c index cc5a6da030a1..18b262bb6a4a 100644 --- a/fs/ext4/inode.c +++ b/fs/ext4/inode.c @@ -2270,6 +2270,7 @@ retry: 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; } |