Re: [PATCH] docs: filesystems: vfs: Correct the struct name

From: Jonathan Corbet
Date: Mon Jan 11 2021 - 14:53:48 EST


On Sun, 10 Jan 2021 15:59:59 +0800
winndows@xxxxxxx wrote:

> From: Liao Pingfang <winndows@xxxxxxx>
>
> The struct name should be file_system_type instead of
> file_system_operations.
>
> Signed-off-by: Liao Pingfang <winndows@xxxxxxx>
> ---
> 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