diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2016-03-12 19:07:21 +0000 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2016-03-12 19:07:21 +0000 |
commit | bb2a228f2d0bce046c9af1a32b6173d4ac522efe (patch) | |
tree | af5127e0b21705eccee6983fbf2572828f5e507f /sys/dev/filemon/filemon_lock.c | |
parent | c677bff3bc0b0ee4a63ab8fca32643e0eb945358 (diff) | |
download | FreeBSD-src-bb2a228f2d0bce046c9af1a32b6173d4ac522efe.zip FreeBSD-src-bb2a228f2d0bce046c9af1a32b6173d4ac522efe.tar.gz |
MFC r296286,r296470,r296472,r296473,r296575:
r296286:
Remove filemon->lock wrappers.
r296470:
Only call bwillwrite() for logging to vnodes, as other fo_write() calls do.
r296472:
Require kldunload -f to unload.
r296473:
Add missing break for r296472.
r296575:
FILEMON_SET_FD: Disallow changing the fd.
Diffstat (limited to 'sys/dev/filemon/filemon_lock.c')
-rw-r--r-- | sys/dev/filemon/filemon_lock.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/sys/dev/filemon/filemon_lock.c b/sys/dev/filemon/filemon_lock.c index a0347000..5cac47c 100644 --- a/sys/dev/filemon/filemon_lock.c +++ b/sys/dev/filemon/filemon_lock.c @@ -29,20 +29,6 @@ __FBSDID("$FreeBSD$"); static __inline void -filemon_filemon_lock(struct filemon *filemon) -{ - - sx_xlock(&filemon->lock); -} - -static __inline void -filemon_filemon_unlock(struct filemon *filemon) -{ - - sx_xunlock(&filemon->lock); -} - -static __inline void filemon_lock_read(void) { |