summaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-09-02 22:11:49 +0300
committerAndrew Morton <akpm@linux-foundation.org>2022-09-12 02:22:31 +0300
commit1552fd3ef7dbe07208b8ae84a0a6566adf7dfc9d (patch)
tree98fa62d21c52066b8b522616b91a83341c102e34 /.gitattributes
parentfd35ca3d12cc9922d7d9a35f934e72132dbc4853 (diff)
downloadlinux-1552fd3ef7dbe07208b8ae84a0a6566adf7dfc9d.tar.xz
mm/damon/dbgfs: fix memory leak when using debugfs_lookup()
When calling debugfs_lookup() the result must have dput() called on it, otherwise the memory will leak over time. Fix this up by properly calling dput(). Link: https://lkml.kernel.org/r/20220902191149.112434-1-sj@kernel.org Fixes: 75c1c2b53c78b ("mm/damon/dbgfs: support multiple contexts") Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: SeongJae Park <sj@kernel.org> Cc: <stable@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions