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
Parents
rS364463: Fix CTL ioctl port creation error handling.
Branches
Unknown
Tags
Unknown