diff options
author | Liu Bo <bo.li.liu@oracle.com> | 2017-03-06 13:49:02 -0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-04-18 14:07:25 +0200 |
commit | 1a79c1f2466bb54b329155b2b6910f386dc5aa9d (patch) | |
tree | 4d57d747af2cc0ac6afdf43562c4133376ccc614 /fs/btrfs | |
parent | 539b50d2f68944e7c1184c68da5c535499cbccfe (diff) | |
download | linux-stable-1a79c1f2466bb54b329155b2b6910f386dc5aa9d.tar.gz linux-stable-1a79c1f2466bb54b329155b2b6910f386dc5aa9d.tar.bz2 linux-stable-1a79c1f2466bb54b329155b2b6910f386dc5aa9d.zip |
Btrfs: update comments in cache_save_setup
We also don't bother to flush free space cache while with free space
tree.
Cc: David Sterba <dsterba@suse.cz>
Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs')
-rw-r--r-- | fs/btrfs/extent-tree.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c index 5a7ddcff406b..1b9ede123ffb 100644 --- a/fs/btrfs/extent-tree.c +++ b/fs/btrfs/extent-tree.c @@ -3443,7 +3443,8 @@ again: /* * don't bother trying to write stuff out _if_ * a) we're not cached, - * b) we're with nospace_cache mount option. + * b) we're with nospace_cache mount option, + * c) we're with v2 space_cache (FREE_SPACE_TREE). */ dcs = BTRFS_DC_WRITTEN; spin_unlock(&block_group->lock); |