]> git.baikalelectronics.ru Git - kernel.git/commit
NFS/flexfile: Simplify nfs4_ff_layout_select_ds_stateid()
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 28 Feb 2019 15:49:11 +0000 (10:49 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 2 Mar 2019 03:37:38 +0000 (22:37 -0500)
commitb09e684e233a203311d4544f0fc5d04ea21a49c3
treecf52748dad0dabd591d1e788a33473d90afbd02e
parent3410b723908a382c5664bd3934d8e1ddc171a396
NFS/flexfile: Simplify nfs4_ff_layout_select_ds_stateid()

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