X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2Fsysfs%2Ffile.c;h=93218ccb2f6b1d866c635ff405dbb7f60458ff5a;hb=e42344514c6e8ca7f5427da9b1407b56550dfa01;hp=146f1dedec844ced95a9055e31e701365b4b241e;hpb=5a3e3b2230980cf2ce6e5e56b816dde19b993939;p=linux-2.6 diff --git a/fs/sysfs/file.c b/fs/sysfs/file.c index 146f1dedec..93218ccb2f 100644 --- a/fs/sysfs/file.c +++ b/fs/sysfs/file.c @@ -483,11 +483,6 @@ int sysfs_update_file(struct kobject * kobj, const struct attribute * attr) (victim->d_parent->d_inode == dir->d_inode)) { victim->d_inode->i_mtime = CURRENT_TIME; fsnotify_modify(victim); - - /** - * Drop reference from initial sysfs_get_dentry(). - */ - dput(victim); res = 0; } else d_drop(victim);