[PATCH 1/3] sysfs.txt: fix pre-kernfs sysfs_dirent reference

From: ulfalizer . lkml
Date: Wed Sep 02 2015 - 08:37:50 EST


From: Ulf Magnusson <ulfalizer@xxxxxxxxx>

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@xxxxxxxxx>
---
Documentation/filesystems/sysfs.txt | 2 +-
Documentation/zh_CN/filesystems/sysfs.txt | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/filesystems/sysfs.txt b/Documentation/filesystems/sysfs.txt
index 9494afb..78170ed 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
diff --git a/Documentation/zh_CN/filesystems/sysfs.txt b/Documentation/zh_CN/filesystems/sysfs.txt
index e230eaa..7d3b05e 100644
--- a/Documentation/zh_CN/filesystems/sysfs.txt
+++ b/Documentation/zh_CN/filesystems/sysfs.txt
@@ -61,7 +61,7 @@ Documentation/kobject.txt ææäèåæååä kobject æåç
åæçåèåæåçæçéãsysfs äçéåçåäèçåæåèåæç
ååçåïäåïæäåèåäæäåççã

-Sysfs åäåçååèç sysfs_dirent åèäåéäåääæååç
+Sysfs åäåçååèç kernfs_node åèäåéäåääæååç
çåç kobject çæéãäåïèä kobject æéè sysfs çæçä
kobject æäæåååéçåçèæãèçåç sysfs åçäïkobject
åçèæåèéè sysfs_schedule_callback() åæçæäæã
--
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/