commit | 24408f5282df58210cfecaa6851b2be52f5c661f | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trond.myklebust@primarydata.com> | Wed Nov 30 10:19:09 2016 -0500 |
committer | Trond Myklebust <trond.myklebust@primarydata.com> | Thu Dec 01 17:21:49 2016 -0500 |
tree | 846785c469295d127b3d5184277540c2bb035efa | |
parent | fe1cf9469d7bcb6af27e42eb555a41b0135bce4a [diff] |
pNFS: Fix bugs in _pnfs_return_layout We need to honour the NFS_LAYOUT_RETURN_REQUESTED bit regardless of whether or not there are layout segments pending. Furthermore, we should ensure that we leave the plh_return_segs list empty. This patch fixes a memory leak of the layout segments on plh_return_segs. Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>