summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/nfsclient/nfs_vnops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/nfsclient/nfs_vnops.c b/sys/nfsclient/nfs_vnops.c
index ff7430d3e1a4..6bb2d8d9362d 100644
--- a/sys/nfsclient/nfs_vnops.c
+++ b/sys/nfsclient/nfs_vnops.c
@@ -624,9 +624,9 @@ nfs_setattr(struct vop_setattr_args *ap)
#endif
/*
- * Setting of flags is not supported.
+ * Setting of flags and marking of atimes are not supported.
*/
- if (vap->va_flags != VNOVAL)
+ if (vap->va_flags != VNOVAL || (vap->va_vaflags & VA_MARK_ATIME))
return (EOPNOTSUPP);
/*