[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <cca6ac4f-4739-76be-9b48-b3643017a556@huawei.com>
Date: Mon, 25 Jan 2021 09:05:48 +0800
From: Zhihao Cheng <chengzhihao1@...wei.com>
To: Richard Weinberger <richard@....at>,
<linux-mtd@...ts.infradead.org>
CC: <david@...ma-star.at>, <linux-kernel@...r.kernel.org>,
<stable@...r.kernel.org>
Subject: Re: [PATCH 3/4] ubifs: Update directory size when creating whiteouts
在 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,
> if (whiteout)
> dir->i_size -= sz_change;
>> + dir->i_size -= sz_change;
>> mutex_unlock(&dir_ui->ui_mutex);
>> out_inode:
>> make_bad_inode(inode);
>>
>
>
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/
Powered by blists - more mailing lists