Skip to contentSkip to conversation

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

PATCH In review Karl Mehltretter 2 participants 2 messages Sep 5

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ubifs: Use the errors_* attribute names in the sysfs ABI document

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
---
 Documentation/ABI/testing/sysfs-fs-ubifs | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Documentation/ABI/testing/sysfs-fs-ubifs +3 -3
index af5afda30220..3c69ed5eb35c 100644
@@ -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:	[email protected]
@@ -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:	[email protected]
@@ -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:	[email protected]
Signature · 6 lines
2.53.0


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
maintainer Reviewed-by on v1 1/1
#1 lore raw

Am Sat, Sep 5, 2026, 12:22 schrieb Karl Mehltretter <[email protected]>:

Quoted 8 lines

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

The documented format for this tag is: "AGENT_NAME:MODEL_VERSION [TOOL1] [TOOL2]"

Why are you just stating "LLM" here?

Quoted 1 line

Thanks,
//richard

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/