yeahuh / rpms / qemu-kvm

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