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)