]> 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)
commit312cd4cb126a7936ad25306d14209fa6fd00f30a
tree59214d097db2ebd5a3ac68dfcb6de730b40bf5ff
parent561d6f8aaffcc9d346e452361a6d80cb8461799d
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