diff options
| author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-01-03 03:55:38 -0500 |
|---|---|---|
| committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-01-06 14:58:51 -0500 |
| commit | fa178f29c0f8a0dce748181a5351f4a92fd4f455 (patch) | |
| tree | 07de5ced8d16d832ebed98c58a2c0498affa12db /include/linux | |
| parent | beb2a5ec386e5ce6891ebd1c06b913da04354b40 (diff) | |
NFSv4: Ensure DELEGRETURN returns attributes
Upon return of a write delegation, the server will almost always bump the
change attribute. Ensure that we pick up that change so that we don't
invalidate our data cache unnecessarily.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/nfs_xdr.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h index 9f422fd87673..6d6f69ec5675 100644 --- a/include/linux/nfs_xdr.h +++ b/include/linux/nfs_xdr.h | |||
| @@ -220,6 +220,12 @@ struct nfs_lockt_res { | |||
| 220 | struct nfs4_delegreturnargs { | 220 | struct nfs4_delegreturnargs { |
| 221 | const struct nfs_fh *fhandle; | 221 | const struct nfs_fh *fhandle; |
| 222 | const nfs4_stateid *stateid; | 222 | const nfs4_stateid *stateid; |
| 223 | const u32 * bitmask; | ||
| 224 | }; | ||
| 225 | |||
| 226 | struct nfs4_delegreturnres { | ||
| 227 | struct nfs_fattr * fattr; | ||
| 228 | const struct nfs_server *server; | ||
| 223 | }; | 229 | }; |
| 224 | 230 | ||
| 225 | /* | 231 | /* |
