From 3e872668d266bcd12c868be22242828a0322c20a Mon Sep 17 00:00:00 2001 From: Lucian Petrut Date: Wed, 10 Mar 2021 07:14:37 +0000 Subject: [PATCH] cephfs: Update ceph-dokan "--removable" flag "-m" is the short option for "--removable". We tried to keep the syntax as close as possible to the old ceph-dokan project but this flag is already used. We'll drop the short option, keeping the long one ("--removable"). Fixes: https://tracker.ceph.com/issues/49662 Signed-off-by: Lucian Petrut (cherry picked from commit 5976e4f58373537374e47645647c84b568a165b8) --- src/dokan/options.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dokan/options.cc b/src/dokan/options.cc index 160ca8cdd9bba..fd3216834ecd0 100644 --- a/src/dokan/options.cc +++ b/src/dokan/options.cc @@ -38,7 +38,7 @@ Map options: --read-only read-only mount -o [ --win-mount-mgr] use the Windows mount manager --current-session-only expose the mount only to the current user session - -m [ --removable ] use a removable drive + --removable use a removable drive --win-vol-name arg The Windows volume name. Default: Ceph - . Unmap options: @@ -102,7 +102,7 @@ int parse_args( cfg->dokan_stderr = true; } else if (ceph_argparse_flag(args, i, "--read-only", (char *)NULL)) { cfg->readonly = true; - } else if (ceph_argparse_flag(args, i, "--removable", "-m", (char *)NULL)) { + } else if (ceph_argparse_flag(args, i, "--removable", (char *)NULL)) { cfg->removable = true; } else if (ceph_argparse_flag(args, i, "--win-mount-mgr", "-o", (char *)NULL)) { cfg->use_win_mount_mgr = true; -- 2.39.5