mirror of
https://github.com/opnsense/src.git
synced 2026-04-29 10:11:09 -04:00
Remove unneeded inuse list locking in filemon_comment().
Sponsored by: EMC / Isilon Storage Division MFC after: 2 weeks
This commit is contained in:
parent
1ab9f216d2
commit
9fa45e4864
1 changed files with 0 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue