diff options
Diffstat (limited to 'fs/nfs/flexfilelayout/flexfilelayoutdev.c')
-rw-r--r-- | fs/nfs/flexfilelayout/flexfilelayoutdev.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/nfs/flexfilelayout/flexfilelayoutdev.c b/fs/nfs/flexfilelayout/flexfilelayoutdev.c index eb370460ce20..add0e5a70bd6 100644 --- a/fs/nfs/flexfilelayout/flexfilelayoutdev.c +++ b/fs/nfs/flexfilelayout/flexfilelayoutdev.c | |||
@@ -418,6 +418,8 @@ nfs4_ff_layout_prepare_ds(struct pnfs_layout_segment *lseg, u32 ds_idx, | |||
418 | pnfs_error_mark_layout_for_return(ino, lseg); | 418 | pnfs_error_mark_layout_for_return(ino, lseg); |
419 | } else | 419 | } else |
420 | pnfs_error_mark_layout_for_return(ino, lseg); | 420 | pnfs_error_mark_layout_for_return(ino, lseg); |
421 | ds = NULL; | ||
422 | goto out; | ||
421 | } | 423 | } |
422 | out_update_creds: | 424 | out_update_creds: |
423 | if (ff_layout_update_mirror_cred(mirror, ds)) | 425 | if (ff_layout_update_mirror_cred(mirror, ds)) |