From bb2a228f2d0bce046c9af1a32b6173d4ac522efe Mon Sep 17 00:00:00 2001 From: bdrewery Date: Sat, 12 Mar 2016 19:07:21 +0000 Subject: 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. --- sys/dev/filemon/filemon_lock.c | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'sys/dev/filemon/filemon_lock.c') 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) { -- cgit v1.1