]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: add some 'static' annotations
authorEric Biggers <ebiggers@google.com>
Thu, 20 Oct 2016 04:42:30 +0000 (15:42 +1100)
committerDave Chinner <david@fromorbit.com>
Thu, 20 Oct 2016 04:42:30 +0000 (15:42 +1100)
commitf1b8243c55ca6fd2a3898e2f586b8cfcfff684bb
tree529ffa6991ebfa7690333db7ad5fdd20a84c21e0
parent1be7f9be0efa4e90547f50b8188f4e70710a1173
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>
fs/xfs/libxfs/xfs_btree.c
fs/xfs/xfs_sysfs.c