HomeFreeBSD

tmpfs: ignore tmpfs_set_status() if mount point is read-only.

Description

tmpfs: ignore tmpfs_set_status() if mount point is read-only.

In particular, this fixes atimes still changing for ro tmpfs.
tmpfs_set_status() gains tmpfs_mount * argument.

Tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks
Differential revision: https://reviews.freebsd.org/D19737

Details

Provenance
kibAuthored on
Differential Revision
D19737: Handle ro remount of tmpfs rw mount.
Parents
rS345799: Block creation of the new nodes for read-only tmpfs mounts.
Branches
Unknown
Tags
Unknown