]> 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)
commit3410b723908a382c5664bd3934d8e1ddc171a396
tree93e99d50e40c4982dbbeb7383ca5b7c8a00bd006
parent534f0531d99e6eb2c7c6f2ea71e640e3daa56eb0
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