Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Jan 2017 18:49:48 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r311111 - head/sys/kern
Message-ID:  <201701021849.v02InmTi037272@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701021849.v02InmTi037272>