projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
042b60b
)
NFS: Fix a typo in nfs_flush_multi
author
Trond Myklebust
<Trond.Myklebust@netapp.com>
Mon, 12 Sep 2011 15:47:53 +0000
(11:47 -0400)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Tue, 13 Sep 2011 21:06:57 +0000
(17:06 -0400)
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>
fs/nfs/write.c
patch
|
blob
|
history
diff --git
a/fs/nfs/write.c
b/fs/nfs/write.c
index b39b37f8091306548dd6516b3865002b1bb72ade..c9bd2a6b7d4ba757729fa28fa185d84edd745d70 100644
(file)
--- a/
fs/nfs/write.c
+++ b/
fs/nfs/write.c
@@
-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;