alistair23-linux/fs/debugfs
Greg Kroah-Hartman d88c93f090 debugfs: fix debugfs_rename parameter checking
debugfs_rename() needs to check that the dentries passed into it really
are valid, as sometimes they are not (i.e. if the return value of
another debugfs call is passed into this one.)  So fix this up by
properly checking if the two parent directories are errors (they are
allowed to be NULL), and if the dentry to rename is not NULL or an
error.

Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-01-25 12:56:32 +01:00
..
file.c debugfs: Re-use kstrtobool_from_user() 2018-05-14 16:48:18 +02:00
inode.c debugfs: fix debugfs_rename parameter checking 2019-01-25 12:56:32 +01:00
internal.h debugfs: Remove redundant license text 2017-11-07 20:25:03 +01:00
Makefile