commit | 972398fa0a5f47c6ee0bde4d6d24b29f90ec888d | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trond.myklebust@primarydata.com> | Tue Sep 01 12:03:56 2015 -0700 |
committer | Trond Myklebust <trond.myklebust@primarydata.com> | Tue Sep 01 12:18:57 2015 -0700 |
tree | 377664e4207e4c2bd03f6ef29b3573e8016a4f0c | |
parent | 2d89a1d3c9ff8ceb115f001e66cff9788338ca47 [diff] |
NFSv4.1/flexfiles: Fix freeing of mirrors Mirrors are now shared objects, so we should not be freeing them directly inside ff_layout_free_lseg(). We should already be doing the right thing in _ff_layout_free_lseg(), so just let it handle things. Also ensure that ff_layout_free_mirror() frees the RPC credential if it is set. Fixes: 28a0d72c6867 ("Add refcounting to struct nfs4_ff_layout_mirror") Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>