]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
xfs: make xfs_iomap_page_ops static
authorDarrick J. Wong <djwong@kernel.org>
Mon, 26 Dec 2022 18:11:18 +0000 (10:11 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Mon, 26 Dec 2022 18:11:18 +0000 (10:11 -0800)
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>
fs/xfs/xfs_iomap.c

index 669c1bc5c3a777d288008f3f90b0025b3ced7505..fc1946f80a4aac20dcd9755931206e0683290c7c 100644 (file)
@@ -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,
 };