Skip to content
Commit 08e9eac4 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

[PATCH] NFSv4: Fix up races in nfs4_proc_setattr()



 If we do not hold a valid stateid that is open for writes, there is little
 point in doing an extra open of the file, as the RFC does not appear to
 mandate this...

 Make setattr use the correct stateid if we're holding mandatory byte
 range locks.

Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent 202b50dc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment