HomeFreeBSD

MFC: r268008

Description

MFC: r268008
There might be a potential race condition for the NFSv4 client
when a newly created file has another open done on it that
update the open mode. This patch moves the code that updates
the open mode up into the block where the mutex is held to
ensure this cannot happen. No bug caused by this potential
race has been observed, but this fix is a safety belt to ensure
it cannot happen.

Details

Provenance
rmacklemAuthored on
Parents
rS268578: MFC 267929, 267937, 267939, 267940, 267941, 267942, 267987, 268006:
Branches
Unknown
Tags
Unknown

Event Timeline