diff options
author | Darrick J. Wong <djwong@kernel.org> | 2022-12-26 19:11:18 +0100 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2022-12-26 19:11:18 +0100 |
commit | d4542f314507015ac0e25c6e8102b88293826a51 (patch) | |
tree | eefc7067c31d3e5f0f52c4513e4027909f849932 /fs | |
parent | xfs: don't assert if cmap covers imap after cycling lock (diff) | |
download | linux-d4542f314507015ac0e25c6e8102b88293826a51.tar.xz linux-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>
Diffstat (limited to 'fs')
-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, }; |