HomeFreeBSD

msdosfs: fix rename

Description

msdosfs: fix rename

Use the same locking algorithm for msdosfs_rename() as used by ufs_rename().
Convert doscheckpath() to non-sleeping version.

Reported by: trasz
PR: 257522
In collaboration with: pho
Reviewed by: mckusick
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D31464

Details

Provenance
kibAuthored on Aug 1 2021, 5:46 PM
Reviewer
mckusick
Differential Revision
D31464: Some fixes for msdosfs_rename and ufs_rename
Parents
rGae7e8a02e6e9: msdosfs deget(): add locking flags argument
Branches
Unknown
Tags
Unknown