gfs2: mark stuffed_readpage static
authorChristoph Hellwig <hch@lst.de>
Mon, 1 Jul 2019 21:54:35 +0000 (23:54 +0200)
committerAndreas Gruenbacher <agruenba@redhat.com>
Wed, 3 Jul 2019 12:45:18 +0000 (14:45 +0200)
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/aops.c
fs/gfs2/aops.h

index 4edf917752af610f142c01e29d70f64c6be4fb4e..8f90d98a0aeef2d29fe2c9b2d8ef97e4f2cbf9e4 100644 (file)
@@ -434,8 +434,7 @@ static int gfs2_jdata_writepages(struct address_space *mapping,
  *
  * Returns: errno
  */
-
-int stuffed_readpage(struct gfs2_inode *ip, struct page *page)
+static int stuffed_readpage(struct gfs2_inode *ip, struct page *page)
 {
        struct buffer_head *dibh;
        u64 dsize = i_size_read(&ip->i_inode);
index 3a6d8a90d99e146d8772b12ac12e9c733336a9f0..ff9877a68780da4560ba0758d535d3efc108eeb4 100644 (file)
@@ -8,7 +8,6 @@
 
 #include "incore.h"
 
-extern int stuffed_readpage(struct gfs2_inode *ip, struct page *page);
 extern void adjust_fs_space(struct inode *inode);
 extern void gfs2_page_add_databufs(struct gfs2_inode *ip, struct page *page,
                                   unsigned int from, unsigned int len);