]> git.baikalelectronics.ru Git - kernel.git/commit
NFS/flexfiles: Simplify nfs4_ff_layout_select_ds_fh()
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 28 Feb 2019 15:34:13 +0000 (10:34 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 2 Mar 2019 03:37:38 +0000 (22:37 -0500)
commit3a4da6d3cc0ec9038d0310f2b2415e5fdefaf5d3
tree0b01b02bbedf1fa5309f10e7ab2db3fec1f00bb2
parent57d2d6e96b8636bb91a5ed7bd1941e30975f97a9
NFS/flexfiles: Simplify nfs4_ff_layout_select_ds_fh()

Pass in a pointer to the mirror rather than having to retrieve it from
the array and then verify the resulting pointer.

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