]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit5084bf6b2006fcd46f1e44e3c51b687507b362e2
tree55e599df1bceb36a211b1f5c154b2e2e1aa80cd7
parent13eaec4b2adf2657b8167b67e27c97cc7314d923
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: 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>
fs/xfs/libxfs/xfs_trans_resv.c