Return EPERM instead of 0 in the un-implemented pseudofs_setattr().
Conceivably, it should even return EOPNOTSUPP.
This commit is contained in:
parent
34b28989d1
commit
dfe5fa8eb7
@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user