There is no need to set 'sp' to NULL anymore.
This commit is contained in:
parent
78e36c279b
commit
783deec19e
@ -4313,7 +4313,6 @@ kern_fhstatfs(struct thread *td, fhandle_t fh, struct statfs *buf)
|
||||
return (error);
|
||||
}
|
||||
vput(vp);
|
||||
sp = NULL;
|
||||
error = prison_canseemount(td->td_ucred, mp);
|
||||
if (error)
|
||||
goto out;
|
||||
|
@ -4313,7 +4313,6 @@ kern_fhstatfs(struct thread *td, fhandle_t fh, struct statfs *buf)
|
||||
return (error);
|
||||
}
|
||||
vput(vp);
|
||||
sp = NULL;
|
||||
error = prison_canseemount(td->td_ucred, mp);
|
||||
if (error)
|
||||
goto out;
|
||||
|
Loading…
x
Reference in New Issue
Block a user