[PATCH 3/4] ubifs: Update directory size when creating whiteouts

Richard Weinberger richard.weinberger at gmail.com
Mon Jan 25 02:55:34 EST 2021


On Mon, Jan 25, 2021 at 2:12 AM Zhihao Cheng <chengzhihao1 at huawei.com> wrote:
>
> 在 2021/1/23 10:45, Zhihao Cheng 写道:
>
> >> @@ -430,6 +433,7 @@ static int do_tmpfile(struct inode *dir, struct
> >> dentry *dentry,
> >>       return 0;
> >>   out_cancel:
> Still one question:
> > Does this need a judgment? Like this,

The idea was that in the !whiteout case, sz_change is always 0.

-- 
Thanks,
//richard



More information about the linux-mtd mailing list