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.

(cherry picked from commit f5d5164fb607ab9c51c52ace4ec241f6cac7cc5c)

Details

Provenance
rmacklemAuthored on Nov 5 2021, 10:33 PM
Parents
rG2036a3a8a168: mbuf: PACKET_TAG_PF should not be persistent
Branches
Unknown
Tags
Unknown