xfs: change xfs_iomap_page_ops to static
PATCH 1/1 xfs: change xfs_iomap_page_ops to static
xfs_iomap_page_ops is only used in xfs_iomap.c now, change it to static.
Fixes 304a68b9c63b ("xfs: use iomap_valid method to detect stale cached iomaps")
Signed-off-by Yang Yingliang <[email protected]>
--- fs/xfs/xfs_iomap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/xfs/xfs_iomap.c +1 -1
@@ -83,7 +83,7 @@ xfs_iomap_valid(return true; } -const struct iomap_page_ops xfs_iomap_page_ops = { +static const struct iomap_page_ops xfs_iomap_page_ops = { .iomap_valid = xfs_iomap_valid, };
Signature · 1 line
2.25.1