HomeFreeBSD

Must set ip->i_effnlink = ip->i_nlink to avoid a soft updates

Description

Must set ip->i_effnlink = ip->i_nlink to avoid a soft updates
"panic: softdep_update_inodeblock: bad link count" when releasing
a partially initialized vnode after an inode check-hash failure.

Reported by: Gary Jennejohn <gljennjohn@gmail.com>
Reported by: Peter Holm (pho)
Sponsored by: Netflix

Details

Provenance
mckusickAuthored on
Parents
rS342128: Fsck would find, report, and offer to fix inode check-hash failures.
Branches
Unknown
Tags
Unknown