mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 22:37:45 -04:00
Lots of callers of debugfs_lookup() were just checking NULL to see if the file/directory was found or not. By changing this inff9fb72bc0("debugfs: return error values, not NULL") we caused some subsystems to easily crash. Fixes:ff9fb72bc0("debugfs: return error values, not NULL") Reported-by: [email protected] Reported-by: Tetsuo Handa <[email protected]> Cc: Omar Sandoval <[email protected]> Cc: Jens Axboe <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>