HomeFreeBSD

vfs: fix freevnode accounting

Description

vfs: fix freevnode accounting

Most notably add the missing decrement to vhold_smr.

  .-'---`-.
,'          `.
|             \
|              \
\           _  \
,\  _    ,'-,/-)\
( * \ \,' ,' ,'-)
 `._,)     -',-')
   \/         ''/
    )        / /
   /       ,'-'

Reported by: Dan Nelson <dnelson_1901@yahoo.com>
Fixes: r362827 ("vfs: protect vnodes with smr")

Details

Provenance
mjgAuthored on Aug 21 2020, 9:24 PM
Parents
rG7758c80f7476: Fix CTL ioctl port creation error handling.
Branches
Unknown
Tags
Unknown

Event Timeline