summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Price <anprice@redhat.com>2017-02-03 08:23:47 -0500
committerBob Peterson <rpeterso@redhat.com>2017-02-03 08:23:47 -0500
commitc548a1c175608e268f6495f3f82461303584d1c9 (patch)
treeb399036aff1d17419bd0d9b63f3ed5879028e002
parentaacee72061a352d52ef9d3854f8db3b86b93ea16 (diff)
downloadop-kernel-dev-c548a1c175608e268f6495f3f82461303584d1c9.zip
op-kernel-dev-c548a1c175608e268f6495f3f82461303584d1c9.tar.gz
gfs2: Make gfs2_write_full_page static
It only gets called from aops.c and doesn't appear in any headers. Signed-off-by: Andrew Price <anprice@redhat.com> Signed-off-by: Bob Peterson <rpeterso@redhat.com>
-rw-r--r--fs/gfs2/aops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/gfs2/aops.c b/fs/gfs2/aops.c
index 5a6f52e..755b81e 100644
--- a/fs/gfs2/aops.c
+++ b/fs/gfs2/aops.c
@@ -143,8 +143,8 @@ static int gfs2_writepage(struct page *page, struct writeback_control *wbc)
/* This is the same as calling block_write_full_page, but it also
* writes pages outside of i_size
*/
-int gfs2_write_full_page(struct page *page, get_block_t *get_block,
- struct writeback_control *wbc)
+static int gfs2_write_full_page(struct page *page, get_block_t *get_block,
+ struct writeback_control *wbc)
{
struct inode * const inode = page->mapping->host;
loff_t i_size = i_size_read(inode);
OpenPOWER on IntegriCloud