|
@@ -501,8 +501,9 @@ filelayout_read_pagelist(struct nfs_pgio_header *hdr)
|
|
|
hdr->mds_offset = offset;
|
|
|
|
|
|
/* Perform an asynchronous read to ds */
|
|
|
- nfs_initiate_pgio(ds_clnt, hdr, NFS_PROTO(hdr->inode),
|
|
|
- &filelayout_read_call_ops, 0, RPC_TASK_SOFTCONN);
|
|
|
+ nfs_initiate_pgio(ds_clnt, hdr, hdr->cred,
|
|
|
+ NFS_PROTO(hdr->inode), &filelayout_read_call_ops,
|
|
|
+ 0, RPC_TASK_SOFTCONN);
|
|
|
return PNFS_ATTEMPTED;
|
|
|
}
|
|
|
|
|
@@ -542,9 +543,9 @@ filelayout_write_pagelist(struct nfs_pgio_header *hdr, int sync)
|
|
|
hdr->args.offset = filelayout_get_dserver_offset(lseg, offset);
|
|
|
|
|
|
/* Perform an asynchronous write */
|
|
|
- nfs_initiate_pgio(ds_clnt, hdr, NFS_PROTO(hdr->inode),
|
|
|
- &filelayout_write_call_ops, sync,
|
|
|
- RPC_TASK_SOFTCONN);
|
|
|
+ nfs_initiate_pgio(ds_clnt, hdr, hdr->cred,
|
|
|
+ NFS_PROTO(hdr->inode), &filelayout_write_call_ops,
|
|
|
+ sync, RPC_TASK_SOFTCONN);
|
|
|
return PNFS_ATTEMPTED;
|
|
|
}
|
|
|
|