Skip to content

Commit

Permalink
gfs2: mark stuffed_readpage static
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
  • Loading branch information
Christoph Hellwig authored and Andreas Gruenbacher committed Jul 3, 2019
1 parent 59c01c5 commit 378b6cb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions fs/gfs2/aops.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
1 change: 0 additions & 1 deletion fs/gfs2/aops.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 378b6cb

Please sign in to comment.