summaryrefslogtreecommitdiffstats
path: root/fs/sysfs/sysfs.h
diff options
context:
space:
mode:
authorEric W. Biederman2007-08-20 14:36:30 +0200
committerGreg Kroah-Hartman2007-10-12 23:51:08 +0200
commit5a26b79c426f8e55ebf7204cb138eb6b1645d4d3 (patch)
tree4cdcd80f88a479a6ed1ef53042f3b17359c0e80e /fs/sysfs/sysfs.h
parentsysfs: simply sysfs_get_dentry (diff)
downloadkernel-qcow2-linux-5a26b79c426f8e55ebf7204cb138eb6b1645d4d3.tar.gz
kernel-qcow2-linux-5a26b79c426f8e55ebf7204cb138eb6b1645d4d3.tar.xz
kernel-qcow2-linux-5a26b79c426f8e55ebf7204cb138eb6b1645d4d3.zip
sysfs: Remove s_dentry
The only uses of s_dentry left are the code that maintains s_dentry and trivial users that don't actually need it. So this patch removes the s_dentry maintenance code and restructures the trivial uses to use something else. 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/sysfs.h')
-rw-r--r--fs/sysfs/sysfs.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/sysfs/sysfs.h b/fs/sysfs/sysfs.h
index 179e6a26ece1..791b3ed91a9b 100644
--- a/fs/sysfs/sysfs.h
+++ b/fs/sysfs/sysfs.h
@@ -37,7 +37,6 @@ struct sysfs_dirent {
unsigned int s_flags;
umode_t s_mode;
ino_t s_ino;
- struct dentry * s_dentry;
struct iattr * s_iattr;
atomic_t s_event;
};