commit | 08e9eac42edab63bce14b5c8419771f3c92aa3f4 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <Trond.Myklebust@netapp.com> | Wed Jun 22 17:16:29 2005 +0000 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Wed Jun 22 16:07:35 2005 -0400 |
tree | 5dd77a7fa392710dab47d30ae42bfb88b932b097 | |
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>