]> git.ipfire.org Git - thirdparty/systemd.git/commit
basic: Add BCACHEFS magic
authorChris Packham <chris.packham@alliedtelesis.co.nz>
Thu, 30 May 2024 21:51:38 +0000 (09:51 +1200)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 31 May 2024 02:14:37 +0000 (11:14 +0900)
commit201148b08de65de004d10679a8c3d201cc08fb28
tree9decf30cce62b123613c5d75ccbd56d41442217c
parent71d78c599f1f855021aaa9556aa495a8cc769264
basic: Add BCACHEFS magic

Import magic.h from Linux 6.9 to get the definition of
BCACHEFS_SUPER_MAGIC. Update filesystems-gperf.gperf to add knowledge of
bcachefs.

This fixes the following error building against a bleeding edge kernel.
```
src/basic/meson.build:234:8: ERROR: Problem encountered: Unknown filesystems defined in kernel headers:

Filesystem found in kernel header but not in filesystems-gperf.gperf: BCACHEFS_SUPER_MAGIC
```
src/basic/filesystems-gperf.gperf
src/basic/missing_magic.h