projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2397256
)
ext4: add blk_finish_plug in error case of writepages.
author
Namjae Jeon
<linkinjeon@gmail.com>
Mon, 7 Nov 2011 16:01:13 +0000
(11:01 -0500)
committer
Theodore Ts'o
<tytso@mit.edu>
Mon, 7 Nov 2011 16:01:13 +0000
(11:01 -0500)
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>
fs/ext4/inode.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ext4/inode.c
b/fs/ext4/inode.c
index cc5a6da030a149f31ea61cd35b9803782a4a57a7..18b262bb6a4a1a8d692cfb2b95d2496ebbfd69b9 100644
(file)
--- 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;
}