diff options
author | Fred Isaman <iisaman@netapp.com> | 2011-03-03 10:13:42 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2011-03-11 15:38:43 -0500 |
commit | b029bc9b0880cbaf999f580c0ea8f06dd274fc77 (patch) | |
tree | 3dc527df82e2bb76ee91dc3f511f40f7ded6e747 /include/linux/nfs_xdr.h | |
parent | d138d5d17be6a60d883e8bd4e22bc218d3adfab3 (diff) |
NFSv4.1: add callback to nfs4_write_done
Add callback that pnfs layout driver can use to do its own handling
of data server WRITE response.
Signed-off-by: Fred Isaman <iisaman@netapp.com>
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 eb0e87084353..21cd41ddbca6 100644 --- a/include/linux/nfs_xdr.h +++ b/include/linux/nfs_xdr.h | |||
@@ -1038,6 +1038,7 @@ struct nfs_write_data { | |||
1038 | unsigned int npages; /* Max length of pagevec */ | 1038 | unsigned int npages; /* Max length of pagevec */ |
1039 | struct nfs_writeargs args; /* argument struct */ | 1039 | struct nfs_writeargs args; /* argument struct */ |
1040 | struct nfs_writeres res; /* result struct */ | 1040 | struct nfs_writeres res; /* result struct */ |
1041 | int (*write_done_cb) (struct rpc_task *task, struct nfs_write_data *data); | ||
1041 | #ifdef CONFIG_NFS_V4 | 1042 | #ifdef CONFIG_NFS_V4 |
1042 | unsigned long timestamp; /* For lease renewal */ | 1043 | unsigned long timestamp; /* For lease renewal */ |
1043 | #endif | 1044 | #endif |