Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f13c3620 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

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: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
Tested-by: default avatarSricharan R <r.sricharan@ti.com>
parent 042b60be
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -958,7 +958,7 @@ static int nfs_flush_multi(struct nfs_pageio_descriptor *desc, struct list_head
		if (!data)
			goto out_bad;
		data->pagevec[0] = page;
		nfs_write_rpcsetup(req, data, wsize, offset, desc->pg_ioflags);
		nfs_write_rpcsetup(req, data, len, offset, desc->pg_ioflags);
		list_add(&data->list, res);
		requests++;
		nbytes -= len;