]> Git Repo - linux.git/commit
sysfs: avoid kmem_cache_free(NULL)
authorAkinobu Mita <[email protected]>
Sat, 14 Jul 2007 02:03:35 +0000 (11:03 +0900)
committerGreg Kroah-Hartman <[email protected]>
Wed, 18 Jul 2007 22:49:49 +0000 (15:49 -0700)
commit01da2425f327d7ac673e594bee5655523115970b
tree44a33a3fa5e088dfe63e9485823400d12aab3b0b
parent3f8df781fc5f9ee5253a54ba669e1c8872844b86
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 <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
fs/sysfs/dir.c
This page took 0.063985 seconds and 4 git commands to generate.