diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2007-08-20 08:36:30 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-10-12 17:51:08 -0400 |
commit | 89bec09705d2033b8b765f3c3ac5093f80bd5bc4 (patch) | |
tree | 3f0583740c18258ab793e86ae11e3a24c4acf8eb /fs/sysfs/symlink.c | |
parent | 3efa65b92d832873ece62b42a4268c2515943977 (diff) |
sysfs: Rewrite sysfs_drop_dentry.
Currently we find the dentry to drop by looking at sd->s_dentry.
We can just as easily accomplish the same task by looking up the
sysfs inode and finding all of the dentries from there, with the
added bonus that we don't need to play with the sysfs_assoc_lock.
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Tejun Heo <htejun@gmail.com>
Cc: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/sysfs/symlink.c')
0 files changed, 0 insertions, 0 deletions