diff options
author | Kinglong Mee <kinglongmee@gmail.com> | 2015-08-26 09:12:58 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-08-27 19:45:27 -0400 |
commit | 8c61282ff61c28d5a12bb53f0eaa221d30fd3ae1 (patch) | |
tree | 30b45d2b58931e12d7d28c48548e41aa4330fc76 /include/linux/nfs_xdr.h | |
parent | 5153aacfb8e2744af68e7b84ccd3f02aeefe4f48 (diff) |
NFS: Get suppattr_exclcreat when getting server capabilities
Create file with attributs as NFS4_CREATE_EXCLUSIVE4_1 mode
depends on suppattr_exclcreat attribut.
v3, same as v2.
Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'include/linux/nfs_xdr.h')
-rw-r--r-- | include/linux/nfs_xdr.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h index b9b530409ff7..0d7c832ec415 100644 --- a/include/linux/nfs_xdr.h +++ b/include/linux/nfs_xdr.h | |||
@@ -1057,11 +1057,13 @@ struct nfs4_statfs_res { | |||
1057 | struct nfs4_server_caps_arg { | 1057 | struct nfs4_server_caps_arg { |
1058 | struct nfs4_sequence_args seq_args; | 1058 | struct nfs4_sequence_args seq_args; |
1059 | struct nfs_fh *fhandle; | 1059 | struct nfs_fh *fhandle; |
1060 | const u32 * bitmask; | ||
1060 | }; | 1061 | }; |
1061 | 1062 | ||
1062 | struct nfs4_server_caps_res { | 1063 | struct nfs4_server_caps_res { |
1063 | struct nfs4_sequence_res seq_res; | 1064 | struct nfs4_sequence_res seq_res; |
1064 | u32 attr_bitmask[3]; | 1065 | u32 attr_bitmask[3]; |
1066 | u32 exclcreat_bitmask[3]; | ||
1065 | u32 acl_bitmask; | 1067 | u32 acl_bitmask; |
1066 | u32 has_links; | 1068 | u32 has_links; |
1067 | u32 has_symlinks; | 1069 | u32 has_symlinks; |