Messages in this thread | | | Date | Mon, 20 Mar 2023 06:44:15 -0700 | From | Christoph Hellwig <> | 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.
| |