diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-11-30 10:19:09 -0500 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-12-01 17:21:49 -0500 |
commit | 24408f5282df58210cfecaa6851b2be52f5c661f (patch) | |
tree | 846785c469295d127b3d5184277540c2bb035efa /fs/ufs/ufs_fs.h | |
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>
Diffstat (limited to 'fs/ufs/ufs_fs.h')
0 files changed, 0 insertions, 0 deletions