HomeFreeBSD

fusefs: don't allow truncating irregular files on an read-only mount

Description

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

Details

Provenance
asomersAuthored on
Parents
rS347183: geom: fix initialization order
Branches
Unknown
Tags
Unknown