svn commit: r311111 - head/sys/kern

Konstantin Belousov kib at FreeBSD.org
Mon Jan 2 18:49:49 UTC 2017


Author: kib
Date: Mon Jan  2 18:49:48 2017
New Revision: 311111
URL: https://svnweb.freebsd.org/changeset/base/311111

Log:
  Style.
  
  Sponsored by:	The FreeBSD Foundation
  MFC after:	1 week

Modified:
  head/sys/kern/vfs_syscalls.c

Modified: head/sys/kern/vfs_syscalls.c
==============================================================================
--- head/sys/kern/vfs_syscalls.c	Mon Jan  2 18:27:35 2017	(r311110)
+++ head/sys/kern/vfs_syscalls.c	Mon Jan  2 18:49:48 2017	(r311111)
@@ -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-all mailing list