Merge branch 'dev/pending-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux into for-linus
This commit is contained in:
@@ -2830,9 +2830,11 @@ retry_root_backup:
|
||||
btrfs_set_opt(fs_info->mount_opt, SSD);
|
||||
}
|
||||
|
||||
/* Set the real inode map cache flag */
|
||||
if (btrfs_test_opt(tree_root, CHANGE_INODE_CACHE))
|
||||
btrfs_set_opt(tree_root->fs_info->mount_opt, INODE_MAP_CACHE);
|
||||
/*
|
||||
* Mount does not set all options immediatelly, we can do it now and do
|
||||
* not have to wait for transaction commit
|
||||
*/
|
||||
btrfs_apply_pending_changes(fs_info);
|
||||
|
||||
#ifdef CONFIG_BTRFS_FS_CHECK_INTEGRITY
|
||||
if (btrfs_test_opt(tree_root, CHECK_INTEGRITY)) {
|
||||
|
||||
Reference in New Issue
Block a user