mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-30 22:03:17 +01: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]>