Fix an inherited style bug: compare with NOCRED instead of NULL.
Sponsored by: DARPA & NAI Labs.
This commit is contained in:
parent
190a4963d0
commit
f8b663614d
@ -3553,7 +3553,7 @@ extattr_check_cred(struct vnode *vp, int attrnamespace,
|
||||
/*
|
||||
* Kernel-invoked always succeeds.
|
||||
*/
|
||||
if (cred == NULL)
|
||||
if (cred == NOCRED)
|
||||
return (0);
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user