diff options
Diffstat (limited to 'fs/nfs/flexfilelayout/flexfilelayoutdev.c')
-rw-r--r-- | fs/nfs/flexfilelayout/flexfilelayoutdev.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/fs/nfs/flexfilelayout/flexfilelayoutdev.c b/fs/nfs/flexfilelayout/flexfilelayoutdev.c index 11766a74216d..ca7a6203b3cb 100644 --- a/fs/nfs/flexfilelayout/flexfilelayoutdev.c +++ b/fs/nfs/flexfilelayout/flexfilelayoutdev.c | |||
@@ -483,9 +483,15 @@ ff_layout_get_ds_cred(struct pnfs_layout_segment *lseg, u32 ds_idx, | |||
483 | } | 483 | } |
484 | 484 | ||
485 | /** | 485 | /** |
486 | * Find or create a DS rpc client with th MDS server rpc client auth flavor | 486 | * nfs4_ff_find_or_create_ds_client - Find or create a DS rpc client |
487 | * in the nfs_client cl_ds_clients list. | 487 | * @lseg: pointer to layout segment |
488 | */ | 488 | * @ds_idx: mirror index |
489 | * @ds_clp: nfs_client for the DS | ||
490 | * @inode: pointer to inode | ||
491 | * | ||
492 | * Find or create a DS rpc client with th MDS server rpc client auth flavor | ||
493 | * in the nfs_client cl_ds_clients list. | ||
494 | */ | ||
489 | struct rpc_clnt * | 495 | struct rpc_clnt * |
490 | nfs4_ff_find_or_create_ds_client(struct pnfs_layout_segment *lseg, u32 ds_idx, | 496 | nfs4_ff_find_or_create_ds_client(struct pnfs_layout_segment *lseg, u32 ds_idx, |
491 | struct nfs_client *ds_clp, struct inode *inode) | 497 | struct nfs_client *ds_clp, struct inode *inode) |