]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
commit4cbc8a571c24133a8b645c62188205908ef2ea83
treecf52748dad0dabd591d1e788a33473d90afbd02e
parent626d48b12cde3ae9740e1da16fc9c1d6d7bbed14
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