Re: [PATCH] ext4: add blk_finish_plug in error case of writepages.

From: NamJae Jeon
Date: Sat Nov 05 2011 - 05:16:32 EST


2011/11/5 Kyungmin Park <kmpark@xxxxxxxxxxxxx>:
> It's already fixed after finding the bug by original author.
>
> Thank you,
> Kyungmin Park
Hi. Park.
This bug is not fixed yet on the latest git of ted,
Do I know to be wrong ?
Thanks.
>
> On Sat, Nov 5, 2011 at 2:49 PM, Namjae Jeon <linkinjeon@xxxxxxxxx> wrote:
>> blk_finish_plug is needed in error case of writepages.
>>
>> Signed-off-by: Namjae Jeon <linkinjeon@xxxxxxxxx>
>> ---
>> Â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
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>> the body of a message to majordomo@xxxxxxxxxxxxxxx
>> More majordomo info at Âhttp://vger.kernel.org/majordomo-info.html
>> Please read the FAQ at Âhttp://www.tux.org/lkml/
>>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/