Searched refs:cache_opt (Results 1 – 2 of 2) sorted by relevance
1974 const bool cache_opt = btrfs_test_opt(fs_info, SPACE_CACHE); in btrfs_remount_cleanup() local1994 if (cache_opt != btrfs_free_space_cache_v1_active(fs_info)) in btrfs_remount_cleanup()1995 btrfs_set_free_space_cache_v1_active(fs_info, cache_opt); in btrfs_remount_cleanup()
3232 const bool cache_opt = btrfs_test_opt(fs_info, SPACE_CACHE); in btrfs_start_pre_rw_mount() local3311 if (cache_opt != btrfs_free_space_cache_v1_active(fs_info)) { in btrfs_start_pre_rw_mount()3312 ret = btrfs_set_free_space_cache_v1_active(fs_info, cache_opt); in btrfs_start_pre_rw_mount()