]> git.baikalelectronics.ru Git - kernel.git/commit
NFS/flexfiles: Simplify nfs4_ff_layout_select_ds_fh()
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 28 Feb 2019 15:34:13 +0000 (10:34 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 2 Mar 2019 03:37:38 +0000 (22:37 -0500)
commit8b62f96240452f95f609c9bf898e7f2619997370
tree0b01b02bbedf1fa5309f10e7ab2db3fec1f00bb2
parentfc53ae4ba8b1b4522a5f76c7a720d1b303e5f410
NFS/flexfiles: Simplify nfs4_ff_layout_select_ds_fh()

Pass in a pointer to the mirror rather than having to retrieve it from
the array and then verify the resulting pointer.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/flexfilelayout/flexfilelayout.c
fs/nfs/flexfilelayout/flexfilelayout.h
fs/nfs/flexfilelayout/flexfilelayoutdev.c