public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ext4: add blk_finish_plug in error case of writepages.
@ 2011-11-05  5:49 Namjae Jeon
  2011-11-05  7:25 ` Kyungmin Park
  0 siblings, 1 reply; 4+ messages in thread
From: Namjae Jeon @ 2011-11-05  5:49 UTC (permalink / raw)
  To: tytso; +Cc: linux-kernel, Namjae Jeon

blk_finish_plug is needed in error case of writepages.

Signed-off-by: Namjae Jeon <linkinjeon@gmail.com>
---
 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 cc5a6da..18b262b 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;
 		}
 
-- 
1.7.4.4


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-11-07 16:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-05  5:49 [PATCH] ext4: add blk_finish_plug in error case of writepages Namjae Jeon
2011-11-05  7:25 ` Kyungmin Park
2011-11-05  9:02   ` NamJae Jeon
2011-11-07 16:09   ` Ted Ts'o

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox