summaryrefslogtreecommitdiffstats
path: root/Documentation/filesystems/sysfs.txt
diff options
context:
space:
mode:
authorUlf Magnusson2015-09-02 14:34:52 +0200
committerJonathan Corbet2015-09-13 22:38:50 +0200
commit390b421c42c8b749661f018818f1d34f339fc3b2 (patch)
tree3ce94a4a85f537cf7620e53870487a39331ee9c1 /Documentation/filesystems/sysfs.txt
parentdocumentation: fix small typo in rbtree.txt (diff)
downloadkernel-qcow2-linux-390b421c42c8b749661f018818f1d34f339fc3b2.tar.gz
kernel-qcow2-linux-390b421c42c8b749661f018818f1d34f339fc3b2.tar.xz
kernel-qcow2-linux-390b421c42c8b749661f018818f1d34f339fc3b2.zip
sysfs.txt: fix pre-kernfs sysfs_dirent reference
sysfs_dirent went away when kernfs was extracted from sysfs. The reference to the kobject now lives in a kernfs_node (in the 'priv' member). See commit 324a56e16e44 ("kernfs: s/sysfs_dirent/kernfs_node/ and rename its friends accordingly"). Signed-off-by: Ulf Magnusson <ulfalizer@gmail.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/filesystems/sysfs.txt')
-rw-r--r--Documentation/filesystems/sysfs.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/filesystems/sysfs.txt b/Documentation/filesystems/sysfs.txt
index 9494afb9476a..78170ed7bfde 100644
--- a/Documentation/filesystems/sysfs.txt
+++ b/Documentation/filesystems/sysfs.txt
@@ -40,7 +40,7 @@ ancestors of object hierarchies; i.e. the subsystems the objects
belong to.
Sysfs internally stores a pointer to the kobject that implements a
-directory in the sysfs_dirent object associated with the directory. In
+directory in the kernfs_node object associated with the directory. In
the past this kobject pointer has been used by sysfs to do reference
counting directly on the kobject whenever the file is opened or closed.
With the current sysfs implementation the kobject reference count is