[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] virtiofsd: Fix the help message of posix lock
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH] virtiofsd: Fix the help message of posix lock |
Date: |
Tue, 27 Oct 2020 09:42:50 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.3.1 |
On 10/27/20 9:15 AM, Jiachen Zhang wrote:
> The commit 88fc107956a5812649e5918e0c092d3f78bb28ad disabled remote
> posix locks by default. But the --help message still says it is enabled
> by default. So fix it to output no_posix_lock.
>
> Signed-off-by: Jiachen Zhang <zhangjiachen.jaycee@bytedance.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> ---
> tools/virtiofsd/helper.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/virtiofsd/helper.c b/tools/virtiofsd/helper.c
> index 85770d63f1..574dd09e91 100644
> --- a/tools/virtiofsd/helper.c
> +++ b/tools/virtiofsd/helper.c
> @@ -161,7 +161,7 @@ void fuse_cmdline_help(void)
> " allowed (default: 10)\n"
> " -o posix_lock|no_posix_lock\n"
> " enable/disable remote posix
> lock\n"
> - " default: posix_lock\n"
> + " default: no_posix_lock\n"
> " -o readdirplus|no_readdirplus\n"
> " enable/disable readirplus\n"
> " default: readdirplus except with "
>