[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YFbK4JU5k1zAcA2f@mit.edu>
Date: Sun, 21 Mar 2021 00:26:08 -0400
From: "Theodore Ts'o" <tytso@....edu>
To: Jan Kara <jack@...e.cz>
Cc: Shijie Luo <luoshijie1@...wei.com>, linux-ext4@...r.kernel.org
Subject: Re: [PATCH] ext4: fix potential error in ext4_do_update_inode
On Fri, Mar 12, 2021 at 01:50:55PM +0100, Jan Kara wrote:
> On Fri 12-03-21 01:50:51, Shijie Luo wrote:
> > If set_large_file = 1 and errors occur in ext4_handle_dirty_metadata(),
> > the error code will be overridden, go to out_brelse to avoid this
> > situation.
> >
> > Signed-off-by: Shijie Luo <luoshijie1@...wei.com>
>
> Yeah, looks good. Once ext4_handle_dirty_metadata() fails, the journal is
> aborted anyway so we are unlikely to do anything useful with the
> filesystem. Feel free to add:
>
> Reviewed-by: Jan Kara <jack@...e.cz>
Thanks, applied.
- Ted
Powered by blists - more mailing lists