[PATCH] ubifs: Use the errors_* attribute names in the sysfs ABI document

Karl Mehltretter kmehltretter at gmail.com
Sat Sep 5 03:22:01 PDT 2026


fs/ubifs/sysfs.c creates errors_magic, errors_node and errors_crc
(UBIFS_ATTR_FUNC(errors_magic, 0444) and friends). The ABI file documents
them as error_magic, error_node and error_crc, which do not exist.

Use the errors_* names.

Fixes: 58225631cf9a ("ubifs: Document sysfs nodes")
Assisted-by: LLM
Signed-off-by: Karl Mehltretter <kmehltretter at gmail.com>
---
 Documentation/ABI/testing/sysfs-fs-ubifs | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Documentation/ABI/testing/sysfs-fs-ubifs b/Documentation/ABI/testing/sysfs-fs-ubifs
index af5afda30220..3c69ed5eb35c 100644
--- a/Documentation/ABI/testing/sysfs-fs-ubifs
+++ b/Documentation/ABI/testing/sysfs-fs-ubifs
@@ -1,4 +1,4 @@
-What:		/sys/fs/ubifsX_Y/error_magic
+What:		/sys/fs/ubifsX_Y/errors_magic
 Date:		October 2021
 KernelVersion:	5.16
 Contact:	linux-mtd at lists.infradead.org
@@ -10,7 +10,7 @@ Description:
 
 		The counter is reset to 0 with a remount.
 
-What:		/sys/fs/ubifsX_Y/error_node
+What:		/sys/fs/ubifsX_Y/errors_node
 Date:		October 2021
 KernelVersion:	5.16
 Contact:	linux-mtd at lists.infradead.org
@@ -22,7 +22,7 @@ Description:
 
 		The counter is reset to 0 with a remount.
 
-What:		/sys/fs/ubifsX_Y/error_crc
+What:		/sys/fs/ubifsX_Y/errors_crc
 Date:		October 2021
 KernelVersion:	5.16
 Contact:	linux-mtd at lists.infradead.org
-- 
2.53.0




More information about the linux-mtd mailing list