]> git.baikalelectronics.ru Git - kernel.git/commit
NFS/flexfiles: Simplify ff_layout_get_ds_cred()
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 28 Feb 2019 15:41:57 +0000 (10:41 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 2 Mar 2019 03:37:38 +0000 (22:37 -0500)
commit534f0531d99e6eb2c7c6f2ea71e640e3daa56eb0
tree59214d097db2ebd5a3ac68dfcb6de730b40bf5ff
parent4250fc6496071a1f8d29ab3a228e19a3efd25616
NFS/flexfiles: Simplify ff_layout_get_ds_cred()

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