|
|
1072c8 |
From 6abfb7b3c37015ff901d11f178bc6900deec2acf Mon Sep 17 00:00:00 2001
|
|
|
1072c8 |
From: Max Reitz <mreitz@redhat.com>
|
|
|
1072c8 |
Date: Fri, 6 Aug 2021 11:58:27 -0400
|
|
|
1072c8 |
Subject: [PATCH 2/2] virtiofsd: Fix the help message of posix lock
|
|
|
1072c8 |
MIME-Version: 1.0
|
|
|
1072c8 |
Content-Type: text/plain; charset=UTF-8
|
|
|
1072c8 |
Content-Transfer-Encoding: 8bit
|
|
|
1072c8 |
|
|
|
1072c8 |
RH-Author: Max Reitz <mreitz@redhat.com>
|
|
|
1072c8 |
Message-id: <20210806115827.740945-3-mreitz@redhat.com>
|
|
|
1072c8 |
Patchwork-id: 101969
|
|
|
1072c8 |
O-Subject: [RHEL-8.5.0 qemu-kvm PATCH 2/2] virtiofsd: Fix the help message of posix lock
|
|
|
1072c8 |
Bugzilla: 1967496
|
|
|
1072c8 |
RH-Acked-by: Stefano Garzarella <sgarzare@redhat.com>
|
|
|
1072c8 |
RH-Acked-by: Philippe Mathieu-Daudé <philmd@redhat.com>
|
|
|
1072c8 |
RH-Acked-by: Vivek Goyal <vgoyal@redhat.com>
|
|
|
1072c8 |
|
|
|
1072c8 |
From: Jiachen Zhang <zhangjiachen.jaycee@bytedance.com>
|
|
|
1072c8 |
|
|
|
1072c8 |
The commit 88fc107956a5812649e5918e0c092d3f78bb28ad disabled remote
|
|
|
1072c8 |
posix locks by default. But the --help message still says it is enabled
|
|
|
1072c8 |
by default. So fix it to output no_posix_lock.
|
|
|
1072c8 |
|
|
|
1072c8 |
Signed-off-by: Jiachen Zhang <zhangjiachen.jaycee@bytedance.com>
|
|
|
1072c8 |
Message-Id: <20201027081558.29904-1-zhangjiachen.jaycee@bytedance.com>
|
|
|
1072c8 |
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
|
|
|
1072c8 |
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
|
|
|
1072c8 |
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
|
|
|
1072c8 |
(cherry picked from commit 0429eaf518be1d4742356056e6c886b7f9bc9712)
|
|
|
1072c8 |
Signed-off-by: Max Reitz <mreitz@redhat.com>
|
|
|
1072c8 |
Signed-off-by: Danilo C. L. de Paula <ddepaula@redhat.com>
|
|
|
1072c8 |
---
|
|
|
1072c8 |
tools/virtiofsd/helper.c | 2 +-
|
|
|
1072c8 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
1072c8 |
|
|
|
1072c8 |
diff --git a/tools/virtiofsd/helper.c b/tools/virtiofsd/helper.c
|
|
|
1072c8 |
index 5b222ea49b..813d9490e5 100644
|
|
|
1072c8 |
--- a/tools/virtiofsd/helper.c
|
|
|
1072c8 |
+++ b/tools/virtiofsd/helper.c
|
|
|
1072c8 |
@@ -163,7 +163,7 @@ void fuse_cmdline_help(void)
|
|
|
1072c8 |
" default: false\n"
|
|
|
1072c8 |
" -o posix_lock|no_posix_lock\n"
|
|
|
1072c8 |
" enable/disable remote posix lock\n"
|
|
|
1072c8 |
- " default: posix_lock\n"
|
|
|
1072c8 |
+ " default: no_posix_lock\n"
|
|
|
1072c8 |
" -o readdirplus|no_readdirplus\n"
|
|
|
1072c8 |
" enable/disable readirplus\n"
|
|
|
1072c8 |
" default: readdirplus except with "
|
|
|
1072c8 |
--
|
|
|
1072c8 |
2.27.0
|
|
|
1072c8 |
|