Date: Mon, 24 Jan 2005 10:31:42 +0000 (UTC) From: Jeff Roberson <jeff@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern vfs_vnops.c Message-ID: <200501241031.j0OAVhEM031094@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jeff 2005-01-24 10:31:42 UTC
FreeBSD src repository
Modified files:
sys/kern vfs_vnops.c
Log:
- Remove GIANT_REQUIRED where giant is no longer required.
- Protect access to mnt_kern_flag with the mountpoint mutex.
- Use the appropriate nd flags to deal with giant in vn_open_cred().
We currently determine whether the caller is mpsafe by checking
for a valid fdidx. Any caller coming from user-space is now
mpsafe and supplies a valid fd. No kenrel callers have been
converted to mpsafe, so this check is sufficient for now.
- Use VFS_LOCK_GIANT instead of manual giant acquisition where
appropriate.
Sponsored By: Isilon Systems, Inc.
Revision Changes Path
1.221 +81 -54 src/sys/kern/vfs_vnops.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501241031.j0OAVhEM031094>
