diff options
author | Mark Fasheh <mfasheh@suse.com> | 2008-01-29 14:35:18 -0800 |
---|---|---|
committer | Mark Fasheh <mfasheh@suse.com> | 2008-04-18 08:56:10 -0700 |
commit | a839c5afcdc345aecb35b0d3bcd0e09b571329c3 (patch) | |
tree | 58fda1dc26c12edc365e7cd2fe12f8dfc7554dd2 /scripts/Makefile.headersinst | |
parent | 5cc3bf2786f63cceb191c3c02ddd83c6f38a7d64 (diff) | |
download | linux-a839c5afcdc345aecb35b0d3bcd0e09b571329c3.tar.gz linux-a839c5afcdc345aecb35b0d3bcd0e09b571329c3.tar.bz2 linux-a839c5afcdc345aecb35b0d3bcd0e09b571329c3.zip |
sysfs: Allow removal of symlinks in the sysfs root
Allow callers of sysfs_remove_link() to pass a NULL kobj, in which case
sysfs_root will be used as the parent directory. This allows us to tear down
top level symlinks created via sysfs_create_link(), which already has
similar handling of a NULL parent object.
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'scripts/Makefile.headersinst')
0 files changed, 0 insertions, 0 deletions