btrfs: move maximum limits to btrfs_tree.h
authorJosef Bacik <josef@toxicpanda.com>
Wed, 14 Sep 2022 15:06:30 +0000 (11:06 -0400)
committerDavid Sterba <dsterba@suse.com>
Mon, 5 Dec 2022 17:00:37 +0000 (18:00 +0100)
commitad4b63caf56d0dc08e03966172d685ff9ebad996
tree3d47cecdaa3cab05fa3fa9bc059d185e0a18b767
parent51129b33d3911c7a36e643d47cf7c00fba3089fe
btrfs: move maximum limits to btrfs_tree.h

We have maximum link and name length limits, move these to btrfs_tree.h
as they're on disk limitations.

Reviewed-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
[ reformat comments ]
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.h
include/uapi/linux/btrfs_tree.h