[lkml]   [2019]   [Oct]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [Cluster-devel] [PATCH] gfs2: Fix memory leak when gfs2meta's fs_context is freed
----- Original Message -----
> gfs2 and gfs2meta share an ->init_fs_context function which allocates an
> args structure stored in fc->fs_private. gfs2 registers a ->free
> function to free this memory when the fs_context is cleaned up, but
> there was not one registered for gfs2meta, causing a leak.
> Register a ->free function for gfs2meta. The existing gfs2_fc_free
> function does what we need.
> Reported-by:
> Signed-off-by: Andrew Price <>
> ---

Thanks. Now pushed to for-next.

Bob Peterson

 \ /
  Last update: 2019-10-04 19:20    [W:0.041 / U:1.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site