From 20aef732d4bdcef8f13d3925d9058987834ac090 Mon Sep 17 00:00:00 2001 From: Daniel Fullmer Date: Wed, 8 Aug 2018 21:24:44 -0400 Subject: [PATCH] Add bcachefs to mountpoint file system whitelist --- util/fusermount.c | 1 + 1 file changed, 1 insertion(+) diff --git a/util/fusermount.c b/util/fusermount.c index 45b54e3..ed9d0aa 100644 --- a/util/fusermount.c +++ b/util/fusermount.c @@ -1011,6 +1011,7 @@ static int check_perm(const char **mntp, struct stat *stbuf, int *mountpoint_fd) typeof(fs_buf.f_type) f_type_whitelist[] = { 0x61756673 /* AUFS_SUPER_MAGIC */, 0x00000187 /* AUTOFS_SUPER_MAGIC */, + 0xCA451A4E /* BCACHEFS_STATFS_MAGIC */, 0x9123683E /* BTRFS_SUPER_MAGIC */, 0x00C36400 /* CEPH_SUPER_MAGIC */, 0xFF534D42 /* CIFS_MAGIC_NUMBER */,