Skip to content
Commit ee6625a9 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

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: default avatarOlga Kornievskaia <aglo@umich.edu>
Fixes: 24408f52

 ("pNFS: Fix bugs in _pnfs_return_layout")
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@primarydata.com>
parent 406dab84
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment