diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2007-08-20 21:36:30 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-10-12 14:51:08 -0700 |
commit | 89bec09705d2033b8b765f3c3ac5093f80bd5bc4 (patch) | |
tree | 3f0583740c18258ab793e86ae11e3a24c4acf8eb /fs/sysfs/file.c | |
parent | 3efa65b92d832873ece62b42a4268c2515943977 (diff) | |
download | blackbird-op-linux-89bec09705d2033b8b765f3c3ac5093f80bd5bc4.tar.gz blackbird-op-linux-89bec09705d2033b8b765f3c3ac5093f80bd5bc4.zip |
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/file.c')
0 files changed, 0 insertions, 0 deletions