aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorGreg KH <[email protected]>2015-03-30 12:59:15 +0000
committerGreg Kroah-Hartman <[email protected]>2015-04-03 14:30:12 +0000
commitc9e15f25f514a76d906be01e621f400cdee94558 (patch)
treefe2cbbcae6a9870adc803dc9f1ecd11da2063aa7 /net/switchdev/switchdev.c
parentstable_kernel_rules: Add clause about specification of kernel versions to patch. (diff)
downloadkernel-c9e15f25f514a76d906be01e621f400cdee94558.tar.gz
kernel-c9e15f25f514a76d906be01e621f400cdee94558.zip
debugfs: allow bad parent pointers to be passed in
If something went wrong with creating a debugfs file/symlink/directory, that value could be passed down into debugfs again as a parent dentry. To make caller code simpler, just error out if this happens, and don't crash the kernel. Reported-by: Alex Elder <[email protected]> Reviewed-by: Viresh Kumar <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]> Reviewed-by: Alex Elder <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions