Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
This commit is contained in:
Konstantin Belousov
2017-01-02 18:49:48 +00:00
parent fa81223743
commit b961dc3193
+1 -1
View File
@@ -374,7 +374,7 @@ kern_fstatfs(struct thread *td, int fd, struct statfs *buf)
AUDIT_ARG_VNODE1(vp); AUDIT_ARG_VNODE1(vp);
#endif #endif
mp = vp->v_mount; mp = vp->v_mount;
if (mp) if (mp != NULL)
vfs_ref(mp); vfs_ref(mp);
VOP_UNLOCK(vp, 0); VOP_UNLOCK(vp, 0);
fdrop(fp, td); fdrop(fp, td);