Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Aug 2006 15:27:48 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern vfs_syscalls.c
Message-ID:  <200608021527.k72FRmZL065158@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2006-08-02 15:27:48 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             vfs_syscalls.c 
  Log:
  Fix some bugs in the previous revision (1.419).  Don't perform extra
  vfs_rel() on the mountpoint if the MAC checks fail in kern_statfs() and
  kern_fstatfs().  Similarly, don't perform an extra vfs_rel() if we get
  a doomed vnode in kern_fstatfs(), and handle the case of mp being NULL
  (for some doomed vnodes) by conditionalizing the vfs_rel() in
  kern_fstatfs() on mp != NULL.
  
  CID:            1517
  Found by:       Coverity Prevent (tm) (kern_fstatfs())
  Pointy hat to:  jhb
  
  Revision  Changes    Path
  1.420     +4 -9      src/sys/kern/vfs_syscalls.c



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