Return EPERM instead of 0 in the un-implemented pseudofs_setattr().

Conceivably, it should even return EOPNOTSUPP.
This commit is contained in:
Robert Watson 2002-02-04 18:09:29 +00:00
parent 34b28989d1
commit dfe5fa8eb7

View File

@ -719,8 +719,7 @@ pfs_setattr(struct vop_setattr_args *va)
if (va->a_vap->va_flags != (u_long)VNOVAL)
PFS_RETURN (EOPNOTSUPP);
/* XXX it's a bit more complex than that, really... */
PFS_RETURN (0);
PFS_RETURN (EPERM);
}
/*