1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-26 16:18:31 +00:00

Change EPERM to EOPNOTSUPP when failing pseudofs_setattr() arbitrarily.

Quoth the alfred:	The latter would be better.
This commit is contained in:
Robert Watson 2002-02-04 18:21:59 +00:00
parent dfe5fa8eb7
commit 416031dcb8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=90206

View File

@ -716,10 +716,8 @@ static int
pfs_setattr(struct vop_setattr_args *va)
{
PFS_TRACE((((struct pfs_vdata *)va->a_vp->v_data)->pvd_pn->pn_name));
if (va->a_vap->va_flags != (u_long)VNOVAL)
PFS_RETURN (EOPNOTSUPP);
PFS_RETURN (EPERM);
PFS_RETURN (EOPNOTSUPP);
}
/*