cvs commit: src/sys/kern vfs_syscalls.c
John Baldwin
jhb at FreeBSD.org
Wed Aug 2 15:27:49 UTC 2006
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
More information about the cvs-src
mailing list