linux/fs/sysfs
Akinobu Mita 01da2425f3 sysfs: avoid kmem_cache_free(NULL)
kmem_cache_free() with NULL is not allowed. But it may happen
if out of memory error is triggered in sysfs_new_dirent().
This patch fixes that error handling.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-07-18 15:49:49 -07:00
..
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bin.c sysfs: add parameter "struct bin_attribute *" in .read/.write methods for sysfs binary attributes 2007-07-11 16:09:09 -07:00
dir.c sysfs: avoid kmem_cache_free(NULL) 2007-07-18 15:49:49 -07:00
file.c sysfs: make directory dentries and inodes reclaimable 2007-07-11 16:09:09 -07:00
group.c sysfs: make kobj point to sysfs_dirent instead of dentry 2007-07-11 16:09:08 -07:00
inode.c sysfs: move sysfs_drop_dentry() to dir.c and make it static 2007-07-11 16:09:09 -07:00
mount.c sysfs: make directory dentries and inodes reclaimable 2007-07-11 16:09:09 -07:00
symlink.c sysfs: restructure add/remove paths and fix inode update 2007-07-11 16:09:09 -07:00
sysfs.h sysfs: make directory dentries and inodes reclaimable 2007-07-11 16:09:09 -07:00