svn commit: r347184 - projects/fuse2/sys/fs/fuse
Alan Somers
asomers at freebsd.org
Mon May 6 15:27:59 UTC 2019
On Mon, May 6, 2019 at 9:20 AM Alan Somers <asomers at freebsd.org> wrote:
>
> Author: asomers
> Date: Mon May 6 15:20:18 2019
> New Revision: 347184
> URL: https://svnweb.freebsd.org/changeset/base/347184
>
> Log:
> fusefs: don't allow truncating irregular files on an read-only mount
>
> The readonly mount check had a special case allowing the sizes of files to
> be changed if they weren't regular files. I don't know why. Neither UFS,
> ZFS, nor ext2 have such a special case, and I don't know when you would ever
> change the size of a non-regular file anyway.
>
> Sponsored by: The FreeBSD Foundation
>
> Modified:
> projects/fuse2/sys/fs/fuse/fuse_vnops.c
Err, this commit was totally wrong. I misread the UFS code. However,
I'm not going to revert it because I'm about to rewrite the affected
function anyway.
-Alan
More information about the svn-src-projects
mailing list