Skip to content

Commit b120193

Browse files
AstralBobswhiteho
authored andcommitted
GFS2: make function gfs2_page_add_databufs static
This patch makes function gfs2_page_add_databufs static. Signed-off-by: Bob Peterson <rpeterso@redhat.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
1 parent df3fd11 commit b120193

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

‎fs/gfs2/aops.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@
3636
#include "glops.h"
3737

3838

39-
void gfs2_page_add_databufs(struct gfs2_inode *ip, struct page *page,
40-
unsigned int from, unsigned int to)
39+
static void gfs2_page_add_databufs(struct gfs2_inode *ip, struct page *page,
40+
unsigned int from, unsigned int to)
4141
{
4242
struct buffer_head *head = page_buffers(page);
4343
unsigned int bsize = head->b_size;

‎fs/gfs2/inode.h‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ extern int gfs2_releasepage(struct page *page, gfp_t gfp_mask);
1919
extern int gfs2_internal_read(struct gfs2_inode *ip,
2020
struct file_ra_state *ra_state,
2121
char *buf, loff_t *pos, unsigned size);
22-
extern void gfs2_page_add_databufs(struct gfs2_inode *ip, struct page *page,
23-
unsigned int from, unsigned int to);
2422
extern void gfs2_set_aops(struct inode *inode);
2523

2624
static inline int gfs2_is_stuffed(const struct gfs2_inode *ip)

0 commit comments

Comments
 (0)