[PATCH -next] xfs: change xfs_iomap_page_ops to static

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



xfs_iomap_page_ops is only used in xfs_iomap.c now,
change it to static.

Fixes: 304a68b9c63b ("xfs: use iomap_valid method to detect stale cached iomaps")
Signed-off-by: Yang Yingliang <yangyingliang@xxxxxxxxxx>
---
 fs/xfs/xfs_iomap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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,
 };
 
-- 
2.25.1




[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux