]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
GFS2: make function gfs2_page_add_databufs static
authorBob Peterson <rpeterso@redhat.com>
Wed, 11 Apr 2012 16:58:07 +0000 (12:58 -0400)
committerSteven Whitehouse <swhiteho@redhat.com>
Tue, 24 Apr 2012 15:44:28 +0000 (16:44 +0100)
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>
fs/gfs2/aops.c
fs/gfs2/inode.h

index 9b2ff0e851b13ad824f1a1a06addd3bbd04763e6..56dc1f0084ba18bca8b6eb268141a67b6a307765 100644 (file)
@@ -36,8 +36,8 @@
 #include "glops.h"
 
 
-void gfs2_page_add_databufs(struct gfs2_inode *ip, struct page *page,
-                           unsigned int from, unsigned int to)
+static void gfs2_page_add_databufs(struct gfs2_inode *ip, struct page *page,
+                                  unsigned int from, unsigned int to)
 {
        struct buffer_head *head = page_buffers(page);
        unsigned int bsize = head->b_size;
index 276e7b52b6585d8755b991d6ee745f9dd7d982df..5d345b402773a67700e374e090215e39e02da390 100644 (file)
@@ -19,8 +19,6 @@ extern int gfs2_releasepage(struct page *page, gfp_t gfp_mask);
 extern int gfs2_internal_read(struct gfs2_inode *ip,
                              struct file_ra_state *ra_state,
                              char *buf, loff_t *pos, unsigned size);
-extern void gfs2_page_add_databufs(struct gfs2_inode *ip, struct page *page,
-                                  unsigned int from, unsigned int to);
 extern void gfs2_set_aops(struct inode *inode);
 
 static inline int gfs2_is_stuffed(const struct gfs2_inode *ip)