]> git.proxmox.com Git - mirror_zfs.git/commitdiff
Report atime and relatime as the property's actual value.
authorTim Chase <tim@chase2k.com>
Mon, 14 Apr 2014 15:33:16 +0000 (10:33 -0500)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 16 Apr 2014 18:57:17 +0000 (11:57 -0700)
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

lib/libzfs/libzfs_dataset.c

index 55325310875cd0cee1c7517d53f1820dae8968b4..316927c0a8a487c6c9de539f0043366f5a707aec 100644 (file)
@@ -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: