diff options
author | Ulf Magnusson <ulfalizer@gmail.com> | 2015-09-02 08:34:52 -0400 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2015-09-13 16:38:50 -0400 |
commit | 390b421c42c8b749661f018818f1d34f339fc3b2 (patch) | |
tree | 3ce94a4a85f537cf7620e53870487a39331ee9c1 /Documentation/filesystems | |
parent | 121e0248bdae1ddaebc26ef32975c3ac1692995e (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.txt | 2 |
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 | |||
40 | belong to. | 40 | belong to. |
41 | 41 | ||
42 | Sysfs internally stores a pointer to the kobject that implements a | 42 | Sysfs internally stores a pointer to the kobject that implements a |
43 | directory in the sysfs_dirent object associated with the directory. In | 43 | directory in the kernfs_node object associated with the directory. In |
44 | the past this kobject pointer has been used by sysfs to do reference | 44 | the past this kobject pointer has been used by sysfs to do reference |
45 | counting directly on the kobject whenever the file is opened or closed. | 45 | counting directly on the kobject whenever the file is opened or closed. |
46 | With the current sysfs implementation the kobject reference count is | 46 | With the current sysfs implementation the kobject reference count is |