summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorNaohiro Aota <naohiro.aota@wdc.com>2021-02-04 19:21:55 +0900
committerDavid Sterba <dsterba@suse.com>2021-02-09 02:46:04 +0100
commit011b41bffa3dd086de3f2c393b35cde6133a7140 (patch)
treef9e93e0095f399ab4ceedd565eaa5db8822369f3 /crypto
parentd3575156f6623eecf086a20bcf99a63f1598109c (diff)
downloadlinux-stable-011b41bffa3dd086de3f2c393b35cde6133a7140.tar.gz
linux-stable-011b41bffa3dd086de3f2c393b35cde6133a7140.tar.bz2
linux-stable-011b41bffa3dd086de3f2c393b35cde6133a7140.zip
btrfs: zoned: advance allocation pointer after tree log node
Since the allocation info of a tree log node is not recorded in the extent tree, calculate_alloc_pointer() cannot detect this node, so the pointer can be over a tree node. Replaying the log calls btrfs_remove_free_space() for each node in the log tree. So, advance the pointer after the node to not allocate over it. Reviewed-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: Naohiro Aota <naohiro.aota@wdc.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions