Dan Carpenter 57f9bdac25 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 <error27@gmail.com>
Cc: stable <stable@kernel.org>
Reviewed-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-09-03 17:26:28 -07:00
..
2010-08-09 16:47:53 -04:00
2009-01-22 13:15:56 +03:00
2005-04-16 15:20:36 -07:00
2010-08-09 16:47:53 -04:00
2010-08-09 16:47:53 -04:00