diff options
author | Wang Shilong <wangsl.fnst@cn.fujitsu.com> | 2014-04-23 13:33:33 +0200 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2014-04-25 01:43:32 +0200 |
commit | 9d89ce658718d9d21465666127a15ca2c82c4ea7 (patch) | |
tree | 31a53b58e98f8c63a9f1e7bba0c673b35cf1d743 /fs/btrfs/super.c | |
parent | btrfs: replace error code from btrfs_drop_extents (diff) | |
download | linux-9d89ce658718d9d21465666127a15ca2c82c4ea7.tar.xz linux-9d89ce658718d9d21465666127a15ca2c82c4ea7.zip |
Btrfs: move btrfs_{set,clear}_and_info() to ctree.h
Signed-off-by: Wang Shilong <wangsl.fnst@cn.fujitsu.com>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to '')
-rw-r--r-- | fs/btrfs/super.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c index 53bc3733d483..363404b9713f 100644 --- a/fs/btrfs/super.c +++ b/fs/btrfs/super.c @@ -385,20 +385,6 @@ static match_table_t tokens = { {Opt_err, NULL}, }; -#define btrfs_set_and_info(root, opt, fmt, args...) \ -{ \ - if (!btrfs_test_opt(root, opt)) \ - btrfs_info(root->fs_info, fmt, ##args); \ - btrfs_set_opt(root->fs_info->mount_opt, opt); \ -} - -#define btrfs_clear_and_info(root, opt, fmt, args...) \ -{ \ - if (btrfs_test_opt(root, opt)) \ - btrfs_info(root->fs_info, fmt, ##args); \ - btrfs_clear_opt(root->fs_info->mount_opt, opt); \ -} - /* * Regular mount options parser. Everything that is needed only when * reading in a new superblock is parsed here. |