[<prev] [next>] [day] [month] [year] [list]
Message-ID: <ZBhjL0zie5CZUq+z@infradead.org>
Date: Mon, 20 Mar 2023 06:44:15 -0700
From: Christoph Hellwig <hch@...radead.org>
To: Mingyi Cong <congmingyi@...il.com>
Cc: Christoph Hellwig <hch@...radead.org>, linkinjeon@...nel.org,
senozhatsky@...omium.org, sfrench@...ba.org, tom@...pey.com,
linux-kernel@...r.kernel.org, linux-cifs@...r.kernel.org
Subject: Re: [PATCH v3] fs: add the tuncate check of exfat
On Thu, Mar 16, 2023 at 11:15:10PM +0800, Mingyi Cong wrote:
> After my analysis, the reason is that the truncate system call of some file
> systems will be filled with 0 data. We should add some conditional
> judgments to avoid the use of some file systems for truncate. Do you have a
> better suggestion for revision?
As Ń•aid we need a flag, be that per-file system or per-inode to flag
the behavior instead of guessing it from the major number.
Powered by blists - more mailing lists