diff options
author | 2022-10-19 10:50:51 -0400 | |
---|---|---|
committer | 2022-12-05 18:00:42 +0100 | |
commit | ec8eb376e271ed2b8724bf488f4c74d2746d5446 (patch) | |
tree | d5336378b7706a7695d050571b0972afbf4813d0 /fs/btrfs/tests | |
parent | btrfs: push printk index code into their respective helpers (diff) | |
download | linux-ec8eb376e271ed2b8724bf488f4c74d2746d5446.tar.gz linux-ec8eb376e271ed2b8724bf488f4c74d2746d5446.tar.bz2 linux-ec8eb376e271ed2b8724bf488f4c74d2746d5446.zip |
btrfs: move BTRFS_FS_STATE* definitions and helpers to fs.h
We're going to use fs.h to hold fs wide related helpers and definitions,
move the FS_STATE enum and related helpers to fs.h, and then update all
files that need these definitions to include fs.h.
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/tests')
-rw-r--r-- | fs/btrfs/tests/btrfs-tests.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/tests/btrfs-tests.c b/fs/btrfs/tests/btrfs-tests.c index d43cb5242fec..669fa7133a2f 100644 --- a/fs/btrfs/tests/btrfs-tests.c +++ b/fs/btrfs/tests/btrfs-tests.c @@ -16,6 +16,7 @@ #include "../disk-io.h" #include "../qgroup.h" #include "../block-group.h" +#include "../fs.h" static struct vfsmount *test_mnt = NULL; |