aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2005-10-27 22:12:41 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2005-10-27 22:12:41 -0400
commit516a6af641bb50c608329a5bd751acd0d65cc4ab (patch)
tree93b240cb19460073cac3363517fcc0e253fb48d9 /include/linux
parent3338c143b4fde2d256016b63043ec8e2c93eba19 (diff)
NFS: Add optional post-op getattr instruction to the NFSv4 file close.
"Optional" means that the close call will not fail if the getattr at the end of the compound fails. If it does succeed, try to refresh inode attributes. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/nfs_xdr.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h
index 6485b8b41b83..4f03dc21cf4a 100644
--- a/include/linux/nfs_xdr.h
+++ b/include/linux/nfs_xdr.h
@@ -153,10 +153,13 @@ struct nfs_closeargs {
153 nfs4_stateid * stateid; 153 nfs4_stateid * stateid;
154 struct nfs_seqid * seqid; 154 struct nfs_seqid * seqid;
155 int open_flags; 155 int open_flags;
156 const u32 * bitmask;
156}; 157};
157 158
158struct nfs_closeres { 159struct nfs_closeres {
159 nfs4_stateid stateid; 160 nfs4_stateid stateid;
161 struct nfs_fattr * fattr;
162 const struct nfs_server *server;
160}; 163};
161/* 164/*
162 * * Arguments to the lock,lockt, and locku call. 165 * * Arguments to the lock,lockt, and locku call.