[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20180616154409.26271-1-hauke@hauke-m.de>
Date: Sat, 16 Jun 2018 17:44:09 +0200
From: Hauke Mehrtens <hauke@...ke-m.de>
To: hch@...radead.org
Cc: linux-kernel@...r.kernel.org, ak@...ux.intel.com,
Hauke Mehrtens <hauke@...ke-m.de>
Subject: [PATCH] freevxfs: Do not inline vxfs_put_page()
vxfs_put_page() is not implemented in a header file, but in a normal c
file and used in multiple functions in different c files. Remove the
inline attribute as it does not make sense here and causes a link error
when LTO is activated.
Signed-off-by: Hauke Mehrtens <hauke@...ke-m.de>
---
fs/freevxfs/vxfs_subr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/freevxfs/vxfs_subr.c b/fs/freevxfs/vxfs_subr.c
index e806694d4145..8e213cce586f 100644
--- a/fs/freevxfs/vxfs_subr.c
+++ b/fs/freevxfs/vxfs_subr.c
@@ -46,7 +46,7 @@ const struct address_space_operations vxfs_aops = {
.bmap = vxfs_bmap,
};
-inline void
+void
vxfs_put_page(struct page *pp)
{
kunmap(pp);
--
2.11.0
Powered by blists - more mailing lists