|
@@ -864,6 +864,8 @@ static int nfs_write_rpcsetup(struct nfs_page *req,
|
|
|
|
|
|
data->args.fh = NFS_FH(inode);
|
|
|
data->args.offset = req_offset(req) + offset;
|
|
|
+ /* pnfs_set_layoutcommit needs this */
|
|
|
+ data->mds_offset = data->args.offset;
|
|
|
data->args.pgbase = req->wb_pgbase + offset;
|
|
|
data->args.pages = data->pagevec;
|
|
|
data->args.count = count;
|