]> git.hungrycats.org Git - linux/commit
btrfs: switch inode_cache option handling to pending changes
authorDavid Sterba <dsterba@suse.cz>
Wed, 5 Feb 2014 14:26:17 +0000 (15:26 +0100)
committerZygo Blaxell <zblaxell@serenity.furryterror.org>
Fri, 23 Jan 2015 13:15:41 +0000 (08:15 -0500)
commit862fd33e3aa13c7b6ce0c69945a0a5f6ef65b713
treed5089a260f6913f9605fc71519295e5a3e8e6da0
parent46c92a4aedd910262fb920064b59fd29ab27b377
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>
(cherry picked from commit 7e1876aca815029d5c3023a66a91e249eca3e533)
fs/btrfs/ctree.h
fs/btrfs/disk-io.c
fs/btrfs/inode-map.c
fs/btrfs/super.c
fs/btrfs/transaction.c