search for: 3a89207

Displaying 1 result from an estimated 1 matches for "3a89207".

Did you mean: 389207
2010 Aug 13
1
[PATCH] btrfs: avoid duplications by moving the static int array from header to c file
...function calling changed to external function calling. Signed-off-by: Cheng Renquan <crquan@gmail.com> --- fs/btrfs/ctree.c | 9 +++++++++ fs/btrfs/ctree.h | 9 +-------- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/fs/btrfs/ctree.c b/fs/btrfs/ctree.c index c3df14c..3a89207 100644 --- a/fs/btrfs/ctree.c +++ b/fs/btrfs/ctree.c @@ -24,6 +24,15 @@ #include "print-tree.h" #include "locking.h" +int btrfs_super_csum_size(struct btrfs_super_block *s) +{ + static const int btrfs_csum_sizes[] = { 4, 0 }; + + int t = btrfs_super_csum_type(s); + BUG_ON(t...