fs: ramfs: Free data when file is unlinked
Since the switch to dentry cache implementation the memory is no
longer freed when a file in ramfs is deleted. Fix this.

Fixes: b283b72639 ("fs: ramfs: Switch to dentry cache implementation")

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent f701414 commit a4514478e6a20edf70537af15fbffbfb1bc5982b
@Sascha Hauer Sascha Hauer authored on 26 Sep 2018
Showing 1 changed file
View
fs/ramfs.c