mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
btrfs: convert nodesize macros to static inlines
This patch converts the macros used to calculate various node size limits to static inlines. That way we get type checking for free. Signed-off-by: Jeff Mahoney <jeffm@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
14a1e067b4
commit
1db1ff92b6
1 changed files with 33 additions and 15 deletions
Loading…
Add table
Add a link
Reference in a new issue