mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-22 08:14:06 +00:00
Save a pointless FILE_LOCK_ASSERT() call in fhold.
This commit is contained in:
parent
a5e239ce13
commit
29b96dcc49
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=137406
|
@ -210,7 +210,7 @@ void fputsock(struct socket *sp);
|
|||
#define fhold(fp) \
|
||||
do { \
|
||||
FILE_LOCK(fp); \
|
||||
fhold_locked(fp); \
|
||||
(fp)->f_count++; \
|
||||
FILE_UNLOCK(fp); \
|
||||
} while (0)
|
||||
|
||||
|
|
Loading…
Reference in a new issue