diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-04-16 18:42:34 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-04-16 18:58:26 -0400 |
commit | 549b19cc9f31e8fdda317625d564bac0052a3328 (patch) | |
tree | 4906e15f9d45a89cb6ea548837bc0cc6eee1f75f /include/linux/nfs_xdr.h | |
parent | 98f98cf571b7b1f34683455a61dae9f35e7222a1 (diff) | |
download | linux-549b19cc9f31e8fdda317625d564bac0052a3328.tar.gz linux-549b19cc9f31e8fdda317625d564bac0052a3328.tar.bz2 linux-549b19cc9f31e8fdda317625d564bac0052a3328.zip |
NFSv4: Record the OPEN create mode used in the nfs4_opendata structure
If we're doing NFSv4.1 against a server that has persistent sessions,
then we should not need to call SETATTR in order to reset the file
attributes immediately after doing an exclusive create.
Note that since the create mode depends on the type of session that
has been negotiated with the server, we should not choose the
mode until after we've got a session slot.
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 90a4aa190b43..bdc100f66dfb 100644 --- a/include/linux/nfs_xdr.h +++ b/include/linux/nfs_xdr.h @@ -349,6 +349,7 @@ struct nfs_openargs { const u32 * bitmask; const u32 * open_bitmap; __u32 claim; + enum createmode4 createmode; }; struct nfs_openres { |