]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: Make the symbol 'xfs_rtalloc_log_count' static
authorChen Wandun <chenwandun@huawei.com>
Wed, 22 Jan 2020 16:29:46 +0000 (11:29 -0500)
committerEric Sandeen <sandeen@redhat.com>
Wed, 22 Jan 2020 16:29:46 +0000 (11:29 -0500)
commit44478d27cb7d7e2dd1b7410130037044162b72aa
tree7302785644831b07a7926f836ee9e5fd8d7407c7
parent1b0819edded7b0df7efdbb885bb42acb7441b998
xfs: Make the symbol 'xfs_rtalloc_log_count' static

Source kernel commit: 5084bf6b2006fcd46f1e44e3c51b687507b362e2

Fix the following sparse warning:

fs/xfs/libxfs/xfs_trans_resv.c:206:1: warning: symbol 'xfs_rtalloc_log_count' was not declared. Should it be static?

Fixes: b1de6fc7520f ("xfs: fix log reservation overflows when allocating large rt extents")
Signed-off-by: Chen Wandun <chenwandun@huawei.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/xfs_trans_resv.c