NFS/flexfiles: Simplify nfs4_ff_find_or_create_ds_client()
Pass in a pointer to the mirror rather than forcing another
array access.
Signed-off-by:
Trond Myklebust <trond.myklebust@hammerspace.com>
Showing
- fs/nfs/flexfilelayout/flexfilelayout.c 3 additions, 3 deletionsfs/nfs/flexfilelayout/flexfilelayout.c
- fs/nfs/flexfilelayout/flexfilelayout.h 1 addition, 2 deletionsfs/nfs/flexfilelayout/flexfilelayout.h
- fs/nfs/flexfilelayout/flexfilelayoutdev.c 2 additions, 5 deletionsfs/nfs/flexfilelayout/flexfilelayoutdev.c
Loading
Please register or sign in to comment