Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sysfs: checking for NULL instead of ERR_PTR
d_path() returns an ERR_PTR and it doesn't return NULL. Signed-off-by: Dan Carpenter <[email protected]> Cc: stable <[email protected]> Reviewed-by: "Eric W. Biederman" <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
- Loading branch information