summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/super.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2020-10-27 15:54:08 +0100
committerDavid Sterba <dsterba@suse.com>2020-12-08 15:53:50 +0100
commit387824afd7210376a577b3c3e2f74618e3ef43a4 (patch)
tree0e2ad7622bfe938570b01a53e0cd4b870d72d2cd /fs/btrfs/super.c
parentecfdc08b8cc65d737eebc26a1ee1875a097fd6a0 (diff)
downloadlinux-387824afd7210376a577b3c3e2f74618e3ef43a4.tar.bz2
btrfs: use the right number of levels for lockdep keysets
BTRFS_MAX_LEVEL is 8 and the keyset table is supposed to have a key for each level, but we'll never have more than 8 levels. The values passed to btrfs_set_buffer_lockdep_class are always derived from a valid extent buffer. Set the array sizes to the right value. Reviewed-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/super.c')
0 files changed, 0 insertions, 0 deletions