projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26870c3
)
xfs: make xfs_iomap_page_ops static
author
Darrick J. Wong
<djwong@kernel.org>
Mon, 26 Dec 2022 18:11:18 +0000
(10:11 -0800)
committer
Darrick 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
patch
|
blob
|
history
diff --git
a/fs/xfs/xfs_iomap.c
b/fs/xfs/xfs_iomap.c
index 669c1bc5c3a777d288008f3f90b0025b3ced7505..fc1946f80a4aac20dcd9755931206e0683290c7c 100644
(file)
--- 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,
};