NFSv4.1/flexfiles: Add refcounting to struct nfs4_ff_layout_mirror
authorTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 24 Aug 2015 22:08:30 +0000 (18:08 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 25 Aug 2015 18:40:07 +0000 (14:40 -0400)
commit28a0d72c6867af307c000e068a6da93ae98bcd0c
treed36a73df089f293ac5b496082ae7597fd640cd24
parenta6970317f2d5f596302d957ae2f5b0d7c8676371
NFSv4.1/flexfiles: Add refcounting to struct nfs4_ff_layout_mirror

We do want to share mirrors between layout segments, so add a refcount
to enable that.

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