aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/disk-io.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2014-02-05 09:26:17 -0500
committerDavid Sterba <dsterba@suse.cz>2014-11-12 10:53:13 -0500
commit7e1876aca815029d5c3023a66a91e249eca3e533 (patch)
tree95b45315399590654ef882d2f55cb9944d732598 /fs/btrfs/disk-io.c
parent6b5fe46dfa52441f49c7432b1c1b1cb767834708 (diff)
btrfs: switch inode_cache option handling to pending changes
The pending mount option(s) now share namespace and bits with the normal options, and the existing one for (inode_cache) is unset unconditionally at each transaction commit. Introduce a separate namespace for pending changes and enhance the descriptions of the intended change to use separate bits for each action. Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r--fs/btrfs/disk-io.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
index fd80c0d98421..6b406e3f3abe 100644
--- a/fs/btrfs/disk-io.c
+++ b/fs/btrfs/disk-io.c
@@ -2830,10 +2830,6 @@ 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 */
2834 if (btrfs_test_opt(tree_root, CHANGE_INODE_CACHE))
2835 btrfs_set_opt(tree_root->fs_info->mount_opt, INODE_MAP_CACHE);
2836
2837 /* 2833 /*
2838 * Mount does not set all options immediatelly, we can do it now and do 2834 * Mount does not set all options immediatelly, we can do it now and do
2839 * not have to wait for transaction commit 2835 * not have to wait for transaction commit