]> git.ipfire.org Git - thirdparty/linux.git/commit - fs/btrfs/fs.h
btrfs: convert incompat and compat flag test helpers to macros
authorJosef Bacik <josef@toxicpanda.com>
Wed, 19 Oct 2022 14:50:52 +0000 (10:50 -0400)
committerDavid Sterba <dsterba@suse.com>
Mon, 5 Dec 2022 17:00:42 +0000 (18:00 +0100)
commit0d3a9cf8c3068136145b90841778e3f1ac13f22a
treeaaa2a78208af3d2a35d9cb2a5dcf78b59e4944b3
parentec8eb376e271ed2b8724bf488f4c74d2746d5446
btrfs: convert incompat and compat flag test helpers to macros

These helpers use functions not defined in fs.h, they're simply
accessors of the super block in fs_info, convert them to macros so
that we don't have a weird dependency between fs.h and accessors.h.

Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/fs.h