summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2019-10-24 15:31:55 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2019-10-24 15:31:55 -0400
commit65b15b7f4b37a7e14541a0d8eca144067d23eeb0 (patch)
tree3c3c001c9e0a0c56539cc3b72be2b223ba6e803e /fs
parentf116b96685a046a89c25d4a6ba2da489145c8888 (diff)
parent30aecae86e914f526a2ca8d552011960ef6a2615 (diff)
downloadlinux-65b15b7f4b37a7e14541a0d8eca144067d23eeb0.tar.bz2
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.c1
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,
};