diff options
author | Weston Andros Adamson <dros@netapp.com> | 2012-10-02 14:49:52 -0700 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-10-02 14:56:19 -0700 |
commit | ae2bb03236fc978bdf673c19d39832500793b83c (patch) | |
tree | e88215f4a387fdcc6ef9183f61d12477b5b7e2bd /include/linux/nfs_xdr.h | |
parent | bbd3a8eee82a2a6f4aa1cce60ccb014f25e5c560 (diff) | |
download | kernel_goldelico_gta04-ae2bb03236fc978bdf673c19d39832500793b83c.zip kernel_goldelico_gta04-ae2bb03236fc978bdf673c19d39832500793b83c.tar.gz kernel_goldelico_gta04-ae2bb03236fc978bdf673c19d39832500793b83c.tar.bz2 |
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/linux/nfs_xdr.h')
-rw-r--r-- | include/linux/nfs_xdr.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h index 655490d..a73ea89 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; }; |