commit | 14a1e067b45614d6236e3c82b36f62caef44ac62 | [log] [tgz] |
---|---|---|
author | Jeff Mahoney <jeffm@suse.com> | Wed Jun 15 10:25:38 2016 -0400 |
committer | David Sterba <dsterba@suse.com> | Tue Jul 26 13:54:24 2016 +0200 |
tree | 2efadf6e036988c7b3f9d3d8e120b76db51b29e8 | |
parent | 0c83b62e2222a8872f0b65d50540fdfa53b675ff [diff] |
btrfs: introduce BTRFS_MAX_ITEM_SIZE We use BTRFS_LEAF_DATA_SIZE - sizeof(struct btrfs_item) in several places. This introduces a BTRFS_MAX_ITEM_SIZE macro to do the same. Signed-off-by: Jeff Mahoney <jeffm@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>