summaryrefslogtreecommitdiffstats
path: root/fs/sysfs/file.c
diff options
context:
space:
mode:
authorHidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>2006-09-20 09:49:02 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2006-10-18 21:49:54 +0200
commit97a501849d60f3dbb8bfcd2300cf65dd5ebc0355 (patch)
tree512d61381ac414994052a13d746150535788a72a /fs/sysfs/file.c
parentsysfs: remove duplicated dput in sysfs_update_file (diff)
downloadlinux-97a501849d60f3dbb8bfcd2300cf65dd5ebc0355.tar.xz
linux-97a501849d60f3dbb8bfcd2300cf65dd5ebc0355.zip
sysfs: update obsolete comment in sysfs_update_file
And the obsolete comment should be updated (or totally removed). Signed-off-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/sysfs/file.c')
-rw-r--r--fs/sysfs/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/sysfs/file.c b/fs/sysfs/file.c
index 93218ccb2f6b..298303b5a716 100644
--- a/fs/sysfs/file.c
+++ b/fs/sysfs/file.c
@@ -488,7 +488,7 @@ int sysfs_update_file(struct kobject * kobj, const struct attribute * attr)
d_drop(victim);
/**
- * Drop the reference acquired from sysfs_get_dentry() above.
+ * Drop the reference acquired from lookup_one_len() above.
*/
dput(victim);
}