diff options
author | Ulf Magnusson <ulfalizer@gmail.com> | 2015-09-02 15:34:52 +0300 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2015-09-13 23:38:50 +0300 |
commit | 390b421c42c8b749661f018818f1d34f339fc3b2 (patch) | |
tree | 3ce94a4a85f537cf7620e53870487a39331ee9c1 /Documentation/filesystems/sysfs.txt | |
parent | 121e0248bdae1ddaebc26ef32975c3ac1692995e (diff) | |
download | linux-390b421c42c8b749661f018818f1d34f339fc3b2.tar.xz |
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.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 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 |