]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4250fc6496071a1f8d29ab3a228e19a3efd25616
treeb4c2cb0af15b5957a96b11f829ca7bfc7701402e
parent3a4da6d3cc0ec9038d0310f2b2415e5fdefaf5d3
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