Skip to contentSkip to conversation

docs: filesystems: vfs: Correct the struct name

PATCH In review [email protected] 2 participants 2 messages Jan 10, 2021 – Jan 11, 2021

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

PATCH 1/1 docs: filesystems: vfs: Correct the struct name

From: Liao Pingfang <[email protected]>

The struct name should be file_system_type instead of file_system_operations.

---
 Documentation/filesystems/vfs.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/filesystems/vfs.rst +1 -1
index ca52c82..18d69a4 100644
@@ -112,7 +112,7 @@ members are defined:
 
 .. code-block:: c
 
-	struct file_system_operations {
+	struct file_system_type {
 		const char *name;
 		int fs_flags;
 		struct dentry *(*mount) (struct file_system_type *, int,
Signature · 1 line
1.8.3.1
maintainer
#1 lore raw
Quoted 15 lines · On Sun, 10 Jan 2021 15:59:59 +0800 [email protected] wrote:

From: Liao Pingfang <[email protected]>

The struct name should be file_system_type instead of file_system_operations.

---
 Documentation/filesystems/vfs.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/filesystems/vfs.rst +0 -0
index ca52c82..18d69a4 100644

Documentation/filesystems/vfs.rst members are defined: · line 118

Quoted 8 lines
Documentation/filesystems/vfs.rst +1 -1
@@ -112,7 +112,7 @@ members are defined:
 
 .. code-block:: c
 
-	struct file_system_operations {
+	struct file_system_type {
 		const char *name;
 		int fs_flags;
 		struct dentry *(*mount) (struct file_system_type *, int,

The patch is clearly correct, so I've applied it. There are a number of other ways in which that block is out of date, though. Sure would be nice if somebody could bring it current...

Thanks,

jon