diff options
author | Darrick J. Wong <djwong@kernel.org> | 2022-12-26 10:11:18 -0800 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2022-12-26 10:11:18 -0800 |
commit | d4542f314507015ac0e25c6e8102b88293826a51 (patch) | |
tree | eefc7067c31d3e5f0f52c4513e4027909f849932 | |
parent | 26870c3f5b15187268bf183055c7b9f29fe66079 (diff) | |
download | linux-stable-d4542f314507015ac0e25c6e8102b88293826a51.tar.gz linux-stable-d4542f314507015ac0e25c6e8102b88293826a51.tar.bz2 linux-stable-d4542f314507015ac0e25c6e8102b88293826a51.zip |
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 <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
-rw-r--r-- | fs/xfs/xfs_iomap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_iomap.c b/fs/xfs/xfs_iomap.c index 669c1bc5c3a7..fc1946f80a4a 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, }; |