xfs: add some 'static' annotations
sparse reported that several variables and a function were not forward-declared anywhere and therefore should be 'static'. Found with sparse by running 'make C=2 CF=-D__CHECK_ENDIAN__ fs/xfs/' Signed-off-by: Eric Biggers <ebiggers@google.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Dave Chinner <david@fromorbit.com>
This commit is contained in:

committed by
Dave Chinner

parent
1be7f9be0e
commit
f1b8243c55
@@ -4826,7 +4826,7 @@ xfs_btree_calc_size(
|
||||
return rval;
|
||||
}
|
||||
|
||||
int
|
||||
static int
|
||||
xfs_btree_count_blocks_helper(
|
||||
struct xfs_btree_cur *cur,
|
||||
int level,
|
||||
|
Reference in New Issue
Block a user