HomeFreeBSD

The experimental NFS client was not filling in recovery credentials

Description

The experimental NFS client was not filling in recovery credentials
for opens done locally in the client when a delegation for the file
was held. This could cause the client to crash in crsetgroups() when
recovering from a server crash/reboot. This patch fills in the
recovery credentials for this case, in order to avoid the client crash.
Also, add KASSERT()s to the credential copy functions, to catch any
other cases where the credentials aren't filled in correctly.

MFC after: 1 week

Details

Provenance
rmacklemAuthored on Apr 15 2010, 10:57 PM
Parents
rGc27b391b3f5f: indent(1): don't treat bare '_t' as a type name when -ta is used
Branches
Unknown
Tags
Unknown

Event Timeline