]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Must set ip->i_effnlink = ip->i_nlink to avoid a soft updates
authormckusick <mckusick@FreeBSD.org>
Sat, 15 Dec 2018 17:58:42 +0000 (17:58 +0000)
committermckusick <mckusick@FreeBSD.org>
Sat, 15 Dec 2018 17:58:42 +0000 (17:58 +0000)
commitc376c8363f9644aea3dd024f21576699c4901cf2
treebdf6018a49f8c3b84376c7db99e59eb1b9cc6f3d
parent94367dc4e412616e9b5588363c294976fc7dc62c
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
sys/ufs/ffs/ffs_subr.c