summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_default.c
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2005-01-24 10:31:42 +0000
committerjeff <jeff@FreeBSD.org>2005-01-24 10:31:42 +0000
commitdcefe7b06bdec6cd421c2334c80fd5c8c83484b5 (patch)
tree266450a1d1d24825110988776b2fe146b53a5af0 /sys/kern/vfs_default.c
parentea989897b7611418c39945c61cd6a34da8cb1066 (diff)
downloadFreeBSD-src-dcefe7b06bdec6cd421c2334c80fd5c8c83484b5.zip
FreeBSD-src-dcefe7b06bdec6cd421c2334c80fd5c8c83484b5.tar.gz
- 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.
Diffstat (limited to 'sys/kern/vfs_default.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud