HomeFreeBSD

nfscl: Fix two more cases for forced dismount

Description

nfscl: Fix two more cases for forced dismount

Although I was not able to cause a failure during testing, there
are places in nfscl_removedeleg() and nfscl_renamedeleg() where
I think a forced dismount could get hung. This patch fixes those.

This patch only affects forced dismount and only if the NFSv4
server is issuing delegations to the client.

Found by code inspection.

MFC after: 2 weeks

Details

Provenance
rmacklemAuthored on Nov 5 2021, 10:33 PM
Parents
rGe2157cd0000f: Partially revert ac76bc1145dd because it is no longer necessary
Branches
Unknown
Tags
Unknown