Save a pointless FILE_LOCK_ASSERT() call in fhold.
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user