Re: [PATCH] ext4: Delete redundant uptodate check for buffer

2021-04-09 Thread Theodore Ts'o
On Thu, Apr 01, 2021 at 04:50:01PM +0530, Ritesh Harjani wrote: > On 21/04/01 03:03PM, Shaokun Zhang wrote: > > From: Yang Guo > > > > The buffer uptodate state has been checked in function set_buffer_uptodate, > > there is no need use buffer_uptodate before calling set_buffer_uptodate and > >

Re: [PATCH] ext4: Delete redundant uptodate check for buffer

2021-04-01 Thread Ritesh Harjani
On 21/04/01 03:03PM, Shaokun Zhang wrote: > From: Yang Guo > > The buffer uptodate state has been checked in function set_buffer_uptodate, > there is no need use buffer_uptodate before calling set_buffer_uptodate and > delete it. > > Cc: "Theodore Ts'o" > Cc: Andreas Dilger > Signed-off-by:

[PATCH] ext4: Delete redundant uptodate check for buffer

2021-04-01 Thread Shaokun Zhang
From: Yang Guo The buffer uptodate state has been checked in function set_buffer_uptodate, there is no need use buffer_uptodate before calling set_buffer_uptodate and delete it. Cc: "Theodore Ts'o" Cc: Andreas Dilger Signed-off-by: Yang Guo Signed-off-by: Shaokun Zhang --- fs/ext4/inode.c