summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/vfs.c
diff options
context:
space:
mode:
authorCornelia Huck <cornelia.huck@de.ibm.com>2007-07-18 01:43:47 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2007-07-18 15:49:50 -0700
commit2ee97caf0a6602f749ddbfdb1449e383e1212707 (patch)
tree6f0fb8f1c856aeb20149a73b1cb85ba943d11ce8 /fs/nfsd/vfs.c
parentbe3884943674f8ee7656b1d8b71c087ec900c836 (diff)
downloadkernel-crypto-2ee97caf0a6602f749ddbfdb1449e383e1212707.tar.gz
kernel-crypto-2ee97caf0a6602f749ddbfdb1449e383e1212707.tar.xz
kernel-crypto-2ee97caf0a6602f749ddbfdb1449e383e1212707.zip
Driver core: check return code of sysfs_create_link()
Check for return value of sysfs_create_link() in device_add() and device_rename(). Add helper functions device_add_class_symlinks() and device_remove_class_symlinks() to make the code easier to read. [akpm@linux-foundation.org: fix unused var warnings] Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com> Acked-by: Jeff Garzik <jeff@garzik.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/nfsd/vfs.c')
0 files changed, 0 insertions, 0 deletions