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>
This commit is contained in:

committed by
Trond Myklebust

parent
3c6b899c49
commit
9137bdf3d2
@@ -1389,7 +1389,7 @@ static int nfs_should_remove_suid(const struct inode *inode)
|
||||
void nfs_writeback_done(struct rpc_task *task, struct nfs_write_data *data)
|
||||
{
|
||||
struct nfs_pgio_args *argp = &data->args;
|
||||
struct nfs_writeres *resp = &data->res;
|
||||
struct nfs_pgio_res *resp = &data->res;
|
||||
struct inode *inode = data->header->inode;
|
||||
int status;
|
||||
|
||||
|
Reference in New Issue
Block a user