]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: add mising include of xfs_pnfs.h for missing declarations
authorBen Dooks (Codethink) <ben.dooks@codethink.co.uk>
Tue, 22 Oct 2019 16:53:50 +0000 (09:53 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Thu, 24 Oct 2019 00:01:08 +0000 (17:01 -0700)
commit7231e7009aa10647269ac845ef911397c2515f47
tree16fce46d0dcb8a81d795cd8a87fd9df4536a10cd
parent83b2bfc26edadafe6a7d3ba1e7a6ee927f570708
xfs: add mising include of xfs_pnfs.h for missing declarations

The xfs_pnfs.c file is missing an include of xfs_pnfs.h to
add the prototypes of the functions it exports. Include this
file to fix the following sparse warnings:

fs/xfs/xfs_pnfs.c:27:1: warning: symbol 'xfs_break_leased_layouts' was not declared. Should it be static?
fs/xfs/xfs_pnfs.c:52:1: warning: symbol 'xfs_fs_get_uuid' was not declared. Should it be static?
fs/xfs/xfs_pnfs.c:77:1: warning: symbol 'xfs_fs_map_blocks' was not declared. Should it be static?
fs/xfs/xfs_pnfs.c:226:1: warning: symbol 'xfs_fs_commit_blocks' was not declared. Should it be static?

Signed-off-by: Ben Dooks (Codethink) <ben.dooks@codethink.co.uk>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_pnfs.c