]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: Make the symbol 'xfs_rtalloc_log_count' static
authorChen Wandun <chenwandun@huawei.com>
Fri, 20 Dec 2019 16:07:31 +0000 (08:07 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Fri, 20 Dec 2019 16:07:31 +0000 (08:07 -0800)
commit8f37ddce99ef4e6979e5125365799fbc3fff9862
tree55e599df1bceb36a211b1f5c154b2e2e1aa80cd7
parent857515c2cc0b15a33e91786ca70885ae91ae1b96
xfs: Make the symbol 'xfs_rtalloc_log_count' static

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: e2533ca70f2d ("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>
fs/xfs/libxfs/xfs_trans_resv.c