OpenCloudOS-Kernel/fs/sysfs
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
..
Kconfig fs/Kconfig: move sysfs out 2009-01-22 13:15:56 +03:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bin.c sysfs: add struct file* to bin_attr callbacks 2010-05-21 09:37:31 -07:00
dir.c sysfs: Comment sysfs directory tagging logic 2010-05-21 09:37:31 -07:00
file.c sysfs: checking for NULL instead of ERR_PTR 2010-09-03 17:26:28 -07:00
group.c sysfs: Implement sysfs tagged directory support. 2010-05-21 09:37:31 -07:00
inode.c switch sysfs to ->evict_inode() 2010-08-09 16:47:53 -04:00
mount.c switch sysfs to ->evict_inode() 2010-08-09 16:47:53 -04:00
symlink.c sysfs: allow creating symlinks from untagged to tagged directories 2010-07-26 12:02:41 -07:00
sysfs.h switch sysfs to ->evict_inode() 2010-08-09 16:47:53 -04:00