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>
Showing
- fs/nfs/flexfilelayout/flexfilelayout.c 2 additions, 2 deletionsfs/nfs/flexfilelayout/flexfilelayout.c
- fs/nfs/flexfilelayout/flexfilelayout.h 1 addition, 1 deletionfs/nfs/flexfilelayout/flexfilelayout.h
- fs/nfs/flexfilelayout/flexfilelayoutdev.c 2 additions, 13 deletionsfs/nfs/flexfilelayout/flexfilelayoutdev.c
Loading
Please register or sign in to comment