summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2006-12-09 17:49:56 +0000
committerXin LI <delphij@FreeBSD.org>2006-12-09 17:49:56 +0000
commit69e3f6fe93dadd0ab3b21c51a5b968b01ba92835 (patch)
tree44bfbf039c02ab8e9cfa7453b860d81fc5f10456
parent9fbb2a5692791e99a93ff486bbaec7bc70025332 (diff)
Notes
-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);
/*