diff options
author | Omar Sandoval <osandov@fb.com> | 2016-09-22 17:24:21 -0700 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2016-10-03 18:52:14 +0200 |
commit | f8d468a15c22b954b379aa0c74914d5068448fb1 (patch) | |
tree | a8da56fb110420e2d352fd244f63210db85f782b /include | |
parent | 2fe1d55134fce05c17ea118a2e37a4af771887bc (diff) |
Btrfs: fix mount -o clear_cache,space_cache=v2
We moved the code for creating the free space tree the first time that
it's enabled, but didn't move the clearing code along with it. This
breaks my (undocumented) intention that `mount -o
clear_cache,space_cache=v2` would clear the free space tree and then
recreate it.
Fixes: 511711af91f2 ("btrfs: don't run delayed references while we are creating the free space tree")
Cc: stable@vger.kernel.org # 4.5+
Tested-by: Holger Hoffstätte <holger@applied-asynchrony.com>
Tested-by: Chandan Rajendra <chandan@linux.vnet.ibm.com>
Signed-off-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions