summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorWeston Andros Adamson <dros@netapp.com>2012-10-02 14:49:52 -0700
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-10-02 14:56:19 -0700
commitae2bb03236fc978bdf673c19d39832500793b83c (patch)
treee88215f4a387fdcc6ef9183f61d12477b5b7e2bd /include
parentbbd3a8eee82a2a6f4aa1cce60ccb014f25e5c560 (diff)
downloadlinux-ae2bb03236fc978bdf673c19d39832500793b83c.tar.gz
linux-ae2bb03236fc978bdf673c19d39832500793b83c.tar.bz2
linux-ae2bb03236fc978bdf673c19d39832500793b83c.zip
NFSv4: don't put ACCESS in OPEN compound if O_EXCL
Don't put an ACCESS op in OPEN compound if O_EXCL, because ACCESS will return permission denied for all bits until close. Fixes a regression due to commit 6168f62c (NFSv4: Add ACCESS operation to OPEN compound) Signed-off-by: Weston Andros Adamson <dros@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/nfs_xdr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h
index 655490dae953..a73ea89789d1 100644
--- a/include/linux/nfs_xdr.h
+++ b/include/linux/nfs_xdr.h
@@ -369,6 +369,7 @@ struct nfs_openres {
struct nfs4_string *owner;
struct nfs4_string *group_owner;
struct nfs4_sequence_res seq_res;
+ __u32 access_request;
__u32 access_supported;
__u32 access_result;
};