diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-11-08 19:51:48 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-11-08 19:51:48 +0000 |
commit | 29b96dcc4995b64c069d644c41dcdb01cd1fefa5 (patch) | |
tree | 7bd8b11fdc29128427b2d306753466ecbad47f04 /sys/sys/file.h | |
parent | a5e239ce13b7f92542307e0e74a54fad0b4960b5 (diff) | |
download | src-29b96dcc4995b64c069d644c41dcdb01cd1fefa5.tar.gz src-29b96dcc4995b64c069d644c41dcdb01cd1fefa5.zip |
Save a pointless FILE_LOCK_ASSERT() call in fhold.
Notes
Notes:
svn path=/head/; revision=137406
Diffstat (limited to 'sys/sys/file.h')
-rw-r--r-- | sys/sys/file.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/file.h b/sys/sys/file.h index 6ec55bde91c5..1fa8ed6c5769 100644 --- a/sys/sys/file.h +++ b/sys/sys/file.h @@ -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) |