mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
25d41d8455
When __debugfs_remove() fails (because simple_rmdir() fails e.g. when a directory is not empty), we must not decrement use count of the filesystem as nothing was in fact deleted. This fixes use after free caused by debugfs in some cases. Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> |
||
---|---|---|
.. | ||
file.c | ||
inode.c | ||
Makefile |