diff options
author | Anna Schumaker <Anna.Schumaker@netapp.com> | 2014-05-06 09:12:35 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2014-05-28 18:41:04 -0400 |
commit | 844c9e691d8723853ca8f2de0207683538645824 (patch) | |
tree | 81e74dc24a665888727c0e7b26a59db2feea2ecb /fs/nfs/internal.h | |
parent | ce59515c1484d3a01bc2f3e7043dc488d25efe34 (diff) |
NFS: Create a common pgio_error function
At this point, the read and write versions of this function look
identical so both should use the same function.
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/internal.h')
-rw-r--r-- | fs/nfs/internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/internal.h b/fs/nfs/internal.h index 519864b3296a..a4b9e754756b 100644 --- a/fs/nfs/internal.h +++ b/fs/nfs/internal.h | |||
@@ -242,6 +242,7 @@ struct nfs_rw_header *nfs_rw_header_alloc(const struct nfs_rw_ops *); | |||
242 | void nfs_rw_header_free(struct nfs_pgio_header *); | 242 | void nfs_rw_header_free(struct nfs_pgio_header *); |
243 | struct nfs_pgio_data *nfs_pgio_data_alloc(struct nfs_pgio_header *, unsigned int); | 243 | struct nfs_pgio_data *nfs_pgio_data_alloc(struct nfs_pgio_header *, unsigned int); |
244 | void nfs_pgio_data_release(struct nfs_pgio_data *); | 244 | void nfs_pgio_data_release(struct nfs_pgio_data *); |
245 | int nfs_pgio_error(struct nfs_pageio_descriptor *, struct nfs_pgio_header *); | ||
245 | void nfs_pgio_rpcsetup(struct nfs_pgio_data *, unsigned int, unsigned int, int, | 246 | void nfs_pgio_rpcsetup(struct nfs_pgio_data *, unsigned int, unsigned int, int, |
246 | struct nfs_commit_info *); | 247 | struct nfs_commit_info *); |
247 | 248 | ||