HomeFreeBSD

ffs: reduce number of dvp relocks in softdep_prelink()

Description

ffs: reduce number of dvp relocks in softdep_prelink()

If vp == NULL, we unlocked and then immediately relocked dvp there.

Reviewed by: mckusick
Discussed with: markj
Tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks
Differential revision: https://reviews.freebsd.org/D30041

Details

Provenance
kibAuthored on Apr 29 2021, 10:21 PM
Reviewer
mckusick
Differential Revision
D30041: ufs: avoid unneeded calls to softdep_prerename() and softdep_prelink()
Parents
rGb2b40b28b178: ufs_vnops.c: style
Branches
Unknown
Tags
Unknown