]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
ufs vnops: brace softdep_prelink() with DOINGSUJ instead of DOINGSOFTDEP
authorKonstantin Belousov <kib@FreeBSD.org>
Sat, 23 Jan 2021 23:12:39 +0000 (01:12 +0200)
committerKonstantin Belousov <kib@FreeBSD.org>
Fri, 12 Feb 2021 01:02:21 +0000 (03:02 +0200)
commit6aed2435c8bf1fa55891c7d30186c9ad91064da8
tree9fd760bae29533f4f27dff3fd2644ddb82ddc758
parentede40b0675155b5cc862652f2fee11c738a46bcd
ufs vnops: brace softdep_prelink() with DOINGSUJ instead of DOINGSOFTDEP

because softdep_prelink() is reverted to NOP for non-J case.  There is no
need to do anything before ufs_direnter() in SU/non-J case, everything
required to sync the directory is done in VOP_VPUT_PAIR().

Suggested by: mckusick
Reviewed by: chs, mckusick
Tested by: pho
MFC after: 2 week
Sponsored by: The FreeBSD Foundation
sys/ufs/ufs/ufs_vnops.c