aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/nfs_xdr.h
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2005-10-27 22:12:40 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2005-10-27 22:12:40 -0400
commit56ae19f38f10aad4f27f7e12138a29b295dff07a (patch)
tree79ada0dacbcf6470b4469c537d3bae02bb81069d /include/linux/nfs_xdr.h
parent0c70b50150cfb0b43ff500a8a394a52b4d5f1350 (diff)
NFSv4: Add directory post-op attributes to the CREATE operations.
Since the directory attributes change every time we CREATE a file, we might as well pick up the new directory attributes in the same compound. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/nfs_xdr.h')
-rw-r--r--include/linux/nfs_xdr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h
index aeaee7e7c51d..6485b8b41b83 100644
--- a/include/linux/nfs_xdr.h
+++ b/include/linux/nfs_xdr.h
@@ -124,6 +124,7 @@ struct nfs_openres {
124 struct nfs4_change_info cinfo; 124 struct nfs4_change_info cinfo;
125 __u32 rflags; 125 __u32 rflags;
126 struct nfs_fattr * f_attr; 126 struct nfs_fattr * f_attr;
127 struct nfs_fattr * dir_attr;
127 const struct nfs_server *server; 128 const struct nfs_server *server;
128 int delegation_type; 129 int delegation_type;
129 nfs4_stateid delegation; 130 nfs4_stateid delegation;
@@ -540,6 +541,7 @@ struct nfs4_create_res {
540 struct nfs_fh * fh; 541 struct nfs_fh * fh;
541 struct nfs_fattr * fattr; 542 struct nfs_fattr * fattr;
542 struct nfs4_change_info dir_cinfo; 543 struct nfs4_change_info dir_cinfo;
544 struct nfs_fattr * dir_fattr;
543}; 545};
544 546
545struct nfs4_fsinfo_arg { 547struct nfs4_fsinfo_arg {