diff options
author | Bryan Drewery <bdrewery@FreeBSD.org> | 2015-08-26 03:33:34 +0000 |
---|---|---|
committer | Bryan Drewery <bdrewery@FreeBSD.org> | 2015-08-26 03:33:34 +0000 |
commit | 9fa45e48641249ea79c8cb60f62b60683587589f (patch) | |
tree | 757215cae25ba294d636c0eac158db05f831b17d /sys/dev/filemon | |
parent | 1ab9f216d21dccc173f888f02aaa21368d92d253 (diff) | |
download | src-9fa45e48641249ea79c8cb60f62b60683587589f.tar.gz src-9fa45e48641249ea79c8cb60f62b60683587589f.zip |
Remove unneeded inuse list locking in filemon_comment().
Sponsored by: EMC / Isilon Storage Division
MFC after: 2 weeks
Notes
Notes:
svn path=/head/; revision=287152
Diffstat (limited to 'sys/dev/filemon')
-rw-r--r-- | sys/dev/filemon/filemon_wrapper.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/dev/filemon/filemon_wrapper.c b/sys/dev/filemon/filemon_wrapper.c index 8014d6f199bc..e162cf58bb26 100644 --- a/sys/dev/filemon/filemon_wrapper.c +++ b/sys/dev/filemon/filemon_wrapper.c @@ -114,9 +114,6 @@ filemon_comment(struct filemon *filemon) /* Load timestamp before locking. Less accurate but less contention. */ getmicrotime(&now); - /* Grab a read lock on the filemon inuse list. */ - filemon_lock_read(); - /* Lock the found filemon structure. */ filemon_filemon_lock(filemon); @@ -129,9 +126,6 @@ filemon_comment(struct filemon *filemon) /* Unlock the found filemon structure. */ filemon_filemon_unlock(filemon); - - /* Release the read lock. */ - filemon_unlock_read(); } static int |