commit | ee6625a948d2e47267ec8fd97307fdd67d0f8a5b | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trond.myklebust@primarydata.com> | Thu Jan 26 15:50:41 2017 -0500 |
committer | Trond Myklebust <trond.myklebust@primarydata.com> | Thu Jan 26 15:50:41 2017 -0500 |
tree | b12ad012131b8fee01e663da1cc9937e2af16851 | |
parent | 406dab8450ec76eca88a1af2fc15d18a2b36ca49 [diff] |
pNFS: Fix a reference leak in _pnfs_return_layout IF NFS_LAYOUT_RETURN_REQUESTED is not set, then we currently exit without freeing the list of invalidated layout segments, leading to a reference leak. Reported-by: Olga Kornievskaia <aglo@umich.edu> Fixes: 24408f5282 ("pNFS: Fix bugs in _pnfs_return_layout") Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>