commit | 1db1ff92b6ce2247999787480c2eeb63a1811e79 | [log] [tgz] |
---|---|---|
author | Jeff Mahoney <jeffm@suse.com> | Wed Jun 15 10:33:06 2016 -0400 |
committer | David Sterba <dsterba@suse.com> | Tue Jul 26 13:54:25 2016 +0200 |
tree | d6123aa0666467421ab8343c6bece5f7e2e0318e | |
parent | 14a1e067b45614d6236e3c82b36f62caef44ac62 [diff] |
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>