aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/filesystems
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2015-09-02 08:34:52 -0400
committerJonathan Corbet <corbet@lwn.net>2015-09-13 16:38:50 -0400
commit390b421c42c8b749661f018818f1d34f339fc3b2 (patch)
tree3ce94a4a85f537cf7620e53870487a39331ee9c1 /Documentation/filesystems
parent121e0248bdae1ddaebc26ef32975c3ac1692995e (diff)
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')
-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
40belong to. 40belong to.
41 41
42Sysfs internally stores a pointer to the kobject that implements a 42Sysfs internally stores a pointer to the kobject that implements a
43directory in the sysfs_dirent object associated with the directory. In 43directory in the kernfs_node object associated with the directory. In
44the past this kobject pointer has been used by sysfs to do reference 44the past this kobject pointer has been used by sysfs to do reference
45counting directly on the kobject whenever the file is opened or closed. 45counting directly on the kobject whenever the file is opened or closed.
46With the current sysfs implementation the kobject reference count is 46With the current sysfs implementation the kobject reference count is