]> git.baikalelectronics.ru Git - kernel.git/commit
NFS/flexfile: Simplify nfs4_ff_layout_ds_version()
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 28 Feb 2019 15:44:15 +0000 (10:44 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 2 Mar 2019 03:37:38 +0000 (22:37 -0500)
commit97d9a4262d106fee1574d0c3507c59481f9da4f4
tree93e99d50e40c4982dbbeb7383ca5b7c8a00bd006
parent0f1eee878970e9da669eb51ce9c6efa867dde90e
NFS/flexfile: Simplify nfs4_ff_layout_ds_version()

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