diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2019-10-24 21:31:55 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-10-24 21:31:55 +0200 |
commit | 65b15b7f4b37a7e14541a0d8eca144067d23eeb0 (patch) | |
tree | 3c3c001c9e0a0c56539cc3b72be2b223ba6e803e /fs | |
parent | Merge tag 'mfd-fixes-5.4' of git://git.kernel.org/pub/scm/linux/kernel/git/le... (diff) | |
parent | gfs2: Fix memory leak when gfs2meta's fs_context is freed (diff) | |
download | linux-65b15b7f4b37a7e14541a0d8eca144067d23eeb0.tar.xz linux-65b15b7f4b37a7e14541a0d8eca144067d23eeb0.zip |
Merge tag 'gfs2-v5.4-rc4.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2
Pull gfs2 fix from Andreas Gruenbacher:
"Fix a memory leak introduced in -rc1"
* tag 'gfs2-v5.4-rc4.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2:
gfs2: Fix memory leak when gfs2meta's fs_context is freed
Diffstat (limited to 'fs')
-rw-r--r-- | fs/gfs2/ops_fstype.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/gfs2/ops_fstype.c b/fs/gfs2/ops_fstype.c index 681b44682b0d..dc61af2c4d5e 100644 --- a/fs/gfs2/ops_fstype.c +++ b/fs/gfs2/ops_fstype.c @@ -1600,6 +1600,7 @@ static int gfs2_meta_get_tree(struct fs_context *fc) } static const struct fs_context_operations gfs2_meta_context_ops = { + .free = gfs2_fc_free, .get_tree = gfs2_meta_get_tree, }; |