MFC (1.270: don't do null Setattr RPCs for VA_MARK_ATIME).
This commit is contained in:
parent
d4e56f2992
commit
628d29a473
@ -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);
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user