]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mount: fix mount failure with old kernels 49404/head
authorXiubo Li <xiubli@redhat.com>
Mon, 14 Nov 2022 10:11:39 +0000 (18:11 +0800)
committerXiubo Li <xiubli@redhat.com>
Thu, 16 Feb 2023 23:57:12 +0000 (07:57 +0800)
commit15474d8bd5405bc9e55dd084710929e06cd4d8f4
tree18a869afb223e7d1276e7315bb3064f649ebbfcf
parentda95895fa1eff19f6f25746767f22b2a10cf39e4
mount: fix mount failure with old kernels

If the 'cmi->cmi_opts' has only one option and there is no any
comma in it, when removing the 'mon_addr' it will fail. And will
pass the 'mon_addr' option to the old kernels.

Fixes: https://tracker.ceph.com/issues/58018
Signed-off-by: Xiubo Li <xiubli@redhat.com>
(cherry picked from commit 3180332ec48596794e2ff4fff305119c4ec2caf7)
src/mount/mount.ceph.c