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)
commit626d48b12cde3ae9740e1da16fc9c1d6d7bbed14
tree93e99d50e40c4982dbbeb7383ca5b7c8a00bd006
parent312cd4cb126a7936ad25306d14209fa6fd00f30a
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