diff options
author | Chris Mason <clm@fb.com> | 2014-11-25 08:45:30 -0500 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2014-11-25 08:45:30 -0500 |
commit | ad27c0dab76a7abc8809ec41ae59cf67de5ea906 (patch) | |
tree | 5ae495bc5d4d3eafa54c2ca5f7c5e5482516e4ec /fs/btrfs/disk-io.c | |
parent | b38ef71cb102208dffcf4e8524e9d5ec4ec0eaa9 (diff) | |
parent | a6f69dc8018dbb4ce2009ccba49b53f68c8bdc64 (diff) |
Merge branch 'dev/pending-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux into for-linus
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r-- | fs/btrfs/disk-io.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c index 6efaee8d7739..1e3e414c8501 100644 --- a/fs/btrfs/disk-io.c +++ b/fs/btrfs/disk-io.c | |||
@@ -2830,9 +2830,11 @@ retry_root_backup: | |||
2830 | btrfs_set_opt(fs_info->mount_opt, SSD); | 2830 | btrfs_set_opt(fs_info->mount_opt, SSD); |
2831 | } | 2831 | } |
2832 | 2832 | ||
2833 | /* Set the real inode map cache flag */ | 2833 | /* |
2834 | if (btrfs_test_opt(tree_root, CHANGE_INODE_CACHE)) | 2834 | * Mount does not set all options immediatelly, we can do it now and do |
2835 | btrfs_set_opt(tree_root->fs_info->mount_opt, INODE_MAP_CACHE); | 2835 | * not have to wait for transaction commit |
2836 | */ | ||
2837 | btrfs_apply_pending_changes(fs_info); | ||
2836 | 2838 | ||
2837 | #ifdef CONFIG_BTRFS_FS_CHECK_INTEGRITY | 2839 | #ifdef CONFIG_BTRFS_FS_CHECK_INTEGRITY |
2838 | if (btrfs_test_opt(tree_root, CHECK_INTEGRITY)) { | 2840 | if (btrfs_test_opt(tree_root, CHECK_INTEGRITY)) { |