MFC (1.270: don't do null Setattr RPCs for VA_MARK_ATIME).

This commit is contained in:
bde 2006-11-23 09:50:18 +00:00
parent d4e56f2992
commit 628d29a473

View File

@ -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);
/*