diff options
Diffstat (limited to 'fs/nfs/flexfilelayout/flexfilelayout.c')
-rw-r--r-- | fs/nfs/flexfilelayout/flexfilelayout.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs/flexfilelayout/flexfilelayout.c b/fs/nfs/flexfilelayout/flexfilelayout.c index 44ccfce3784e..f57cb38bd286 100644 --- a/fs/nfs/flexfilelayout/flexfilelayout.c +++ b/fs/nfs/flexfilelayout/flexfilelayout.c | |||
@@ -1795,7 +1795,7 @@ ff_layout_read_pagelist(struct nfs_pgio_header *hdr) | |||
1795 | hdr->pgio_done_cb = ff_layout_read_done_cb; | 1795 | hdr->pgio_done_cb = ff_layout_read_done_cb; |
1796 | refcount_inc(&ds->ds_clp->cl_count); | 1796 | refcount_inc(&ds->ds_clp->cl_count); |
1797 | hdr->ds_clp = ds->ds_clp; | 1797 | hdr->ds_clp = ds->ds_clp; |
1798 | fh = nfs4_ff_layout_select_ds_fh(lseg, idx); | 1798 | fh = nfs4_ff_layout_select_ds_fh(mirror); |
1799 | if (fh) | 1799 | if (fh) |
1800 | hdr->args.fh = fh; | 1800 | hdr->args.fh = fh; |
1801 | 1801 | ||
@@ -1863,7 +1863,7 @@ ff_layout_write_pagelist(struct nfs_pgio_header *hdr, int sync) | |||
1863 | refcount_inc(&ds->ds_clp->cl_count); | 1863 | refcount_inc(&ds->ds_clp->cl_count); |
1864 | hdr->ds_clp = ds->ds_clp; | 1864 | hdr->ds_clp = ds->ds_clp; |
1865 | hdr->ds_commit_idx = idx; | 1865 | hdr->ds_commit_idx = idx; |
1866 | fh = nfs4_ff_layout_select_ds_fh(lseg, idx); | 1866 | fh = nfs4_ff_layout_select_ds_fh(mirror); |
1867 | if (fh) | 1867 | if (fh) |
1868 | hdr->args.fh = fh; | 1868 | hdr->args.fh = fh; |
1869 | 1869 | ||