aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/lz4.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2020-08-20 11:46:08 -0400
committerDavid Sterba <dsterba@suse.com>2020-10-07 12:12:17 +0200
commitca9d473a3e300bcddc73c00fdf2f4bf6ca43c4a2 (patch)
treece8598f6b0a01f7fc44e7d495dba46011b2dd8d6 /crypto/lz4.c
parentcf6f34aa3ada0be8c5f90fe93f48a75fea082c51 (diff)
downloadlinux-ca9d473a3e300bcddc73c00fdf2f4bf6ca43c4a2.tar.gz
btrfs: use BTRFS_NESTED_NEW_ROOT for double splits
I've made this change separate since it requires both of the newly added NESTED flags and I didn't want to slip it into one of those changes. If we do a double split of a node we can end up doing a BTRFS_NESTED_SPLIT on level 0, which throws lockdep off because it appears as a double lock. Since we're maxed out on subclasses, use BTRFS_NESTED_NEW_ROOT if we had to do a double split. This is OK because we won't have to do a double split if we had to insert a new root, and the new root would be at a higher level anyway. Signed-off-by: Josef Bacik <josef@toxicpanda.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'crypto/lz4.c')
0 files changed, 0 insertions, 0 deletions