Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
configfs: fix memleak in configfs_release_bin_file
[ Upstream commit 3c252b0 ] When reading binary attributes in progress, buffer->bin_buffer is setup in configfs_read_bin_file() but never freed. Fixes: 03607ac ("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>
- Loading branch information