pNFS/flexfiles: Simplify allocation of the mirror array
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 19 Mar 2020 14:13:05 +0000 (10:13 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 26 Mar 2020 14:52:04 +0000 (10:52 -0400)
commit329651b1f1965cdc0a66df5717d3ac2fccddc740
treeebb3d26b5765be8fe7efd95d5bc0fa20ba10ef51
parentdf513a7711712758b9cb1a48d86712e7e1ee03f4
pNFS/flexfiles: Simplify allocation of the mirror array

Just allocate the array at the end of the layout segment structure,
instead of allocating it as a separate array of pointers.

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