Add bcachefs to mountpoint file system whitelist
authorDaniel Fullmer <danielrf12@gmail.com>
Thu, 9 Aug 2018 01:24:44 +0000 (21:24 -0400)
committerNikolaus Rath <Nikolaus@rath.org>
Thu, 9 Aug 2018 18:15:45 +0000 (19:15 +0100)
util/fusermount.c

index 45b54e3a3b070758f84c6881fca86a1fa0f0454d..ed9d0aa0ac457b5a773940a16d7642d268b03cec 100644 (file)
@@ -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 */,