]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: convert nodesize macros to static inlines
authorJeff Mahoney <jeffm@suse.com>
Wed, 15 Jun 2016 14:33:06 +0000 (10:33 -0400)
committerDavid Sterba <dsterba@suse.com>
Tue, 26 Jul 2016 11:54:25 +0000 (13:54 +0200)
commit7446c454628b0e128dcc0995963c5cfd42d6edb5
treed6123aa0666467421ab8343c6bece5f7e2e0318e
parente0986b9df0b1ae1d66d6b3aa5e12affb978e9cc5
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>
fs/btrfs/ctree.h