From: Bob Peterson Date: Mon, 20 Feb 2017 08:44:30 -0500 Subject: [Cluster-devel] [PATCH 8/8] gfs2: Make gfs2_write_full_page static In-Reply-To: <20170220134430.5021-1-rpeterso@redhat.com> References: <20170220134430.5021-1-rpeterso@redhat.com> Message-ID: <20170220134430.5021-9-rpeterso@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit From: Andrew Price It only gets called from aops.c and doesn't appear in any headers. Signed-off-by: Andrew Price Signed-off-by: Bob Peterson --- fs/gfs2/aops.c | 4 ++-- 1 file 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); -- 2.9.3