diff options
author | 2024-05-07 17:37:57 +0200 | |
---|---|---|
committer | 2024-05-08 17:29:24 -0400 | |
commit | e2f48c48090dea172c0c571101041de64634dae5 (patch) | |
tree | b855881c99b407bdd0cd72d50cd229d01eebf8d0 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | bcachefs: Improve sysfs internal/btree_cache (diff) | |
download | wireguard-linux-e2f48c48090dea172c0c571101041de64634dae5.tar.xz wireguard-linux-e2f48c48090dea172c0c571101041de64634dae5.zip |
bcachefs: Move BCACHEFS_STATFS_MAGIC value to UAPI magic.h
Move BCACHEFS_STATFS_MAGIC value to UAPI <linux/magic.h> under
BCACHEFS_SUPER_MAGIC definition (use common approach for name) and reuse the
definition in bcachefs_format.h BCACHEFS_STATFS_MAGIC.
There are other bcachefs magic definitions: BCACHE_MAGIC, BCHFS_MAGIC,
which use UUID_INIT() and are used only in libbcachefs. Therefore move
only BCACHEFS_STATFS_MAGIC value, which can be used outside of
libbcachefs for f_type field in struct statfs in statfs() or fstatfs().
Suggested-by: Su Yue <glass.su@suse.com>
Signed-off-by: Petr Vorel <pvorel@suse.cz>
Acked-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions