NFS/flexfiles: Simplify nfs4_ff_find_or_create_ds_client()
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 28 Feb 2019 15:38:41 +0000 (10:38 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 2 Mar 2019 03:37:38 +0000 (22:37 -0500)
commit561d6f8aaffcc9d346e452361a6d80cb8461799d
treeb4c2cb0af15b5957a96b11f829ca7bfc7701402e
parent749da527b3e7bff92cc76b907bc222ef2df6fcdc
NFS/flexfiles: Simplify nfs4_ff_find_or_create_ds_client()

Pass in a pointer to the mirror rather than forcing another
array access.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/flexfilelayout/flexfilelayout.c
fs/nfs/flexfilelayout/flexfilelayout.h
fs/nfs/flexfilelayout/flexfilelayoutdev.c