Skip to content

Commit f13c362

Browse files
Trond MyklebustTrond Myklebust
authored andcommitted
NFS: Fix a typo in nfs_flush_multi
Fix a typo which causes an Oops in the RPC layer, when using wsize < 4k. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> Tested-by: Sricharan R <r.sricharan@ti.com>
1 parent 042b60b commit f13c362

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎fs/nfs/write.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -958,7 +958,7 @@ static int nfs_flush_multi(struct nfs_pageio_descriptor *desc, struct list_head
958958
if (!data)
959959
goto out_bad;
960960
data->pagevec[0] = page;
961-
nfs_write_rpcsetup(req, data, wsize, offset, desc->pg_ioflags);
961+
nfs_write_rpcsetup(req, data, len, offset, desc->pg_ioflags);
962962
list_add(&data->list, res);
963963
requests++;
964964
nbytes -= len;

0 commit comments

Comments
 (0)