]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
client: set LIBMOUNT_FORCE_MOUNT2=always 58529/head
authorJakob Haufe <sur5r@sur5r.net>
Tue, 30 Apr 2024 15:45:24 +0000 (17:45 +0200)
committerJos Collin <jcollin@redhat.com>
Thu, 11 Jul 2024 01:43:19 +0000 (07:13 +0530)
commit645729d08c3589f7125c09d987c3930651a47576
tree4f523a434c5bb8466e3eeb5a49a135bbb91276ed
parent9122136bebef94311801796793b3ccd81a4a9765
client: set LIBMOUNT_FORCE_MOUNT2=always

This is a workaround for libmount 2.38 or later on linux kernel 5.1 or
later.

libmount defaults to the new fsconfig interface which does not support
remounting the way the old mount(2) syscall did. Thus, dentry trimming
fails.

Fixes: https://tracker.ceph.com/issues/62664
Signed-off-by: Jakob Haufe <sur5r@sur5r.net>
(cherry picked from commit 9ca1d4be2b587ce1d3e6c10dc2a98195b2ab3ba9)
src/client/fuse_ll.cc