diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2005-06-22 17:16:29 +0000 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2005-06-22 16:07:35 -0400 |
commit | 08e9eac42edab63bce14b5c8419771f3c92aa3f4 (patch) | |
tree | 5dd77a7fa392710dab47d30ae42bfb88b932b097 /fs/devfs | |
parent | 202b50dc127cf4714ffdcc6a64f1648373f9414f (diff) |
[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: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/devfs')
0 files changed, 0 insertions, 0 deletions