kernel_optimize_test/fs/configfs
Chung-Chiang Cheng 5f2dfce8d8 configfs: fix memleak in configfs_release_bin_file
[ Upstream commit 3c252b087de08d3cb32468b54a158bd7ad0ae2f7 ]

When reading binary attributes in progress, buffer->bin_buffer is setup in
configfs_read_bin_file() but never freed.

Fixes: 03607ace80 ("configfs: implement binary attributes")
Signed-off-by: Chung-Chiang Cheng <cccheng@synology.com>
[hch: move the vfree rather than duplicating it]
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-14 16:56:48 +02:00
..
configfs_internal.h configfs: calculate the symlink target only once 2019-09-11 12:46:14 +02:00
dir.c fs: configfs: delete repeated words in comments 2020-10-16 11:11:19 -07:00
file.c configfs: fix memleak in configfs_release_bin_file 2021-07-14 16:56:48 +02:00
inode.c docs: filesystems: convert configfs.txt to ReST 2020-05-05 09:23:25 -06:00
item.c docs: filesystems: convert configfs.txt to ReST 2020-05-05 09:23:25 -06:00
Kconfig
Makefile
mount.c configfs: calculate the symlink target only once 2019-09-11 12:46:14 +02:00
symlink.c configfs: calculate the depth of parent item 2019-11-06 18:36:01 +01:00