mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-26 03:09:34 +03:00
Report atime and relatime as the property's actual value.
Neither atime nor relatime should be considered to be "temporary mount point properties". Their semantics are enforced completely within ZFS and also they're (correctly) not documented as being temporary mount point properties. Signed-off-by: Tim Chase <tim@chase2k.com> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes #2257
This commit is contained in:
parent
2dbedf5484
commit
b066274a77
@ -1830,8 +1830,6 @@ get_numeric_property(zfs_handle_t *zhp, zfs_prop_t prop, zprop_source_t *src,
|
||||
mnt.mnt_mntopts = zhp->zfs_mntopts;
|
||||
|
||||
switch (prop) {
|
||||
case ZFS_PROP_ATIME:
|
||||
case ZFS_PROP_RELATIME:
|
||||
case ZFS_PROP_DEVICES:
|
||||
case ZFS_PROP_EXEC:
|
||||
case ZFS_PROP_READONLY:
|
||||
@ -1854,6 +1852,8 @@ get_numeric_property(zfs_handle_t *zhp, zfs_prop_t prop, zprop_source_t *src,
|
||||
}
|
||||
break;
|
||||
|
||||
case ZFS_PROP_ATIME:
|
||||
case ZFS_PROP_RELATIME:
|
||||
case ZFS_PROP_CANMOUNT:
|
||||
case ZFS_PROP_VOLSIZE:
|
||||
case ZFS_PROP_QUOTA:
|
||||
|
Loading…
Reference in New Issue
Block a user