1
0
Fork 0

pNFS: Fix a typo in pnfs_generic_alloc_ds_commits

If the layout segment is invalid, we want to just resend the remaining
writes.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
hifive-unleashed-5.1
Trond Myklebust 2017-05-01 17:35:58 -04:00
parent 61f454e30c
commit 5f0114832a
1 changed files with 1 additions and 1 deletions

View File

@ -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;