svn commit: r311775 - stable/11/sys/kern

Konstantin Belousov kib at FreeBSD.org
Mon Jan 9 10:23:38 UTC 2017


Author: kib
Date: Mon Jan  9 10:23:37 2017
New Revision: 311775
URL: https://svnweb.freebsd.org/changeset/base/311775

Log:
  MFC r311111:
  Style.

Modified:
  stable/11/sys/kern/vfs_syscalls.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/kern/vfs_syscalls.c
==============================================================================
--- stable/11/sys/kern/vfs_syscalls.c	Mon Jan  9 10:21:46 2017	(r311774)
+++ stable/11/sys/kern/vfs_syscalls.c	Mon Jan  9 10:23:37 2017	(r311775)
@@ -374,7 +374,7 @@ kern_fstatfs(struct thread *td, int fd, 
 	AUDIT_ARG_VNODE1(vp);
 #endif
 	mp = vp->v_mount;
-	if (mp)
+	if (mp != NULL)
 		vfs_ref(mp);
 	VOP_UNLOCK(vp, 0);
 	fdrop(fp, td);


More information about the svn-src-stable mailing list