From: Darrick J. Wong Date: Mon, 26 Dec 2022 18:11:18 +0000 (-0800) Subject: xfs: make xfs_iomap_page_ops static X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=d4542f314507015ac0e25c6e8102b88293826a51;p=linux.git xfs: make xfs_iomap_page_ops static Shut up the sparse warnings about this variable that isn't referenced anywhere else. Signed-off-by: Darrick J. Wong Reviewed-by: Dave Chinner --- diff --git a/fs/xfs/xfs_iomap.c b/fs/xfs/xfs_iomap.c index 669c1bc5c3a77..fc1946f80a4aa 100644 --- a/fs/xfs/xfs_iomap.c +++ b/fs/xfs/xfs_iomap.c @@ -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, };