There is no need to set 'sp' to NULL anymore.
This commit is contained in:
parent
78e36c279b
commit
783deec19e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=162459
@ -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…
Reference in New Issue
Block a user