diff options
author | Anna Schumaker <Anna.Schumaker@netapp.com> | 2014-05-06 09:12:25 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2014-05-28 18:12:43 -0400 |
commit | 9137bdf3d241fc2cbeb2a8ced51d1546150aa6a1 (patch) | |
tree | bcce3aa0d097ec8eadd4ed61236dc452903f486c /fs/nfs/read.c | |
parent | 3c6b899c49e5e9c2803b59ee553eddaf69cea7f6 (diff) | |
download | op-kernel-dev-9137bdf3d241fc2cbeb2a8ced51d1546150aa6a1.zip op-kernel-dev-9137bdf3d241fc2cbeb2a8ced51d1546150aa6a1.tar.gz |
NFS: Create a common results structure for reads and writes
Reads and writes have very similar results. This patch combines the two
structs together with comments to show where the differing fields are
used.
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/read.c')
-rw-r--r-- | fs/nfs/read.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/read.c b/fs/nfs/read.c index 46d5552..473bba3 100644 --- a/fs/nfs/read.c +++ b/fs/nfs/read.c @@ -471,7 +471,7 @@ int nfs_readpage_result(struct rpc_task *task, struct nfs_read_data *data) static void nfs_readpage_retry(struct rpc_task *task, struct nfs_read_data *data) { struct nfs_pgio_args *argp = &data->args; - struct nfs_readres *resp = &data->res; + struct nfs_pgio_res *resp = &data->res; /* This is a short read! */ nfs_inc_stats(data->header->inode, NFSIOS_SHORTREAD); |