projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61f454e
)
pNFS: Fix a typo in pnfs_generic_alloc_ds_commits
author
Trond Myklebust
<trond.myklebust@primarydata.com>
Mon, 1 May 2017 21:35:58 +0000
(17:35 -0400)
committer
Trond Myklebust
<trond.myklebust@primarydata.com>
Tue, 2 May 2017 16:35:34 +0000
(12:35 -0400)
If the layout segment is invalid, we want to just resend the remaining
writes.
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/pnfs_nfs.c
patch
|
blob
|
history
diff --git
a/fs/nfs/pnfs_nfs.c
b/fs/nfs/pnfs_nfs.c
index
7697ac0
..
ae600ab
100644
(file)
--- a/
fs/nfs/pnfs_nfs.c
+++ b/
fs/nfs/pnfs_nfs.c
@@
-223,7
+223,7
@@
pnfs_generic_alloc_ds_commits(struct nfs_commit_info *cinfo,
*/
if (!pnfs_is_valid_lseg(bucket->clseg) &&
!test_bit(NFS_LSEG_LAYOUTRETURN, &bucket->clseg->pls_flags))
-
continue
;
+
break
;
data = nfs_commitdata_alloc(false);
if (!data)
break;