From b066274a773b8dcac329786f95a2e4ea52a291a1 Mon Sep 17 00:00:00 2001 From: Tim Chase Date: Mon, 14 Apr 2014 10:33:16 -0500 Subject: 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 Signed-off-by: Brian Behlendorf Closes #2257 --- lib/libzfs/libzfs_dataset.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libzfs/libzfs_dataset.c b/lib/libzfs/libzfs_dataset.c index 553253108..316927c0a 100644 --- a/lib/libzfs/libzfs_dataset.c +++ b/lib/libzfs/libzfs_dataset.c @@ -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: -- cgit v1.2.3