All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] docs: filesystems: vfs: Correct the struct name
@ 2021-01-10  7:59 winndows
  2021-01-11 19:52 ` Jonathan Corbet
  0 siblings, 1 reply; 2+ messages in thread
From: winndows @ 2021-01-10  7:59 UTC (permalink / raw)
  To: corbet; +Cc: linux-doc, linux-kernel, Liao Pingfang

From: Liao Pingfang <winndows@163.com>

The struct name should be file_system_type instead of
file_system_operations.

Signed-off-by: Liao Pingfang <winndows@163.com>
---
 Documentation/filesystems/vfs.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/filesystems/vfs.rst b/Documentation/filesystems/vfs.rst
index ca52c82..18d69a4 100644
--- a/Documentation/filesystems/vfs.rst
+++ b/Documentation/filesystems/vfs.rst
@@ -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,
-- 
1.8.3.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] docs: filesystems: vfs: Correct the struct name
  2021-01-10  7:59 [PATCH] docs: filesystems: vfs: Correct the struct name winndows
@ 2021-01-11 19:52 ` Jonathan Corbet
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Corbet @ 2021-01-11 19:52 UTC (permalink / raw)
  To: winndows; +Cc: linux-doc, linux-kernel

On Sun, 10 Jan 2021 15:59:59 +0800
winndows@163.com wrote:

> From: Liao Pingfang <winndows@163.com>
> 
> The struct name should be file_system_type instead of
> file_system_operations.
> 
> Signed-off-by: Liao Pingfang <winndows@163.com>
> ---
>  Documentation/filesystems/vfs.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/filesystems/vfs.rst b/Documentation/filesystems/vfs.rst
> index ca52c82..18d69a4 100644
> --- a/Documentation/filesystems/vfs.rst
> +++ b/Documentation/filesystems/vfs.rst
> @@ -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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-01-11 19:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-10  7:59 [PATCH] docs: filesystems: vfs: Correct the struct name winndows
2021-01-11 19:52 ` Jonathan Corbet

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.