summaryrefslogtreecommitdiffstats
path: root/fs/sysfs/inode.c
diff options
context:
space:
mode:
authorAkinobu Mita <akinobu.mita@gmail.com>2007-07-14 04:03:35 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2007-07-19 00:49:49 +0200
commit01da2425f327d7ac673e594bee5655523115970b (patch)
tree44a33a3fa5e088dfe63e9485823400d12aab3b0b /fs/sysfs/inode.c
parentPM: remove deprecated dpm_runtime_* routines (diff)
downloadlinux-01da2425f327d7ac673e594bee5655523115970b.tar.xz
linux-01da2425f327d7ac673e594bee5655523115970b.zip
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>
Diffstat (limited to 'fs/sysfs/inode.c')
0 files changed, 0 insertions, 0 deletions