From: Bob Peterson Date: Fri, 3 Feb 2017 08:33:07 -0500 (EST) Subject: [Cluster-devel] [PATCH] gfs2: Make gfs2_write_full_page static In-Reply-To: <20170203115853.7431-1-anprice@redhat.com> References: <20170203115853.7431-1-anprice@redhat.com> Message-ID: <1843324779.18755000.1486128787619.JavaMail.zimbra@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit ----- Original Message ----- | It only gets called from aops.c and doesn't appear in any headers. | | Signed-off-by: Andrew Price | --- | 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..3e7f991 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 | | Hi, Thanks. This is now applied to the for-next branch of the linux-gfs2 tree: https://git.kernel.org/cgit/linux/kernel/git/gfs2/linux-gfs2.git/commit/fs/gfs2?h=for-next&id=c548a1c175608e268f6495f3f82461303584d1c9 Regards, Bob Peterson Red Hat File Systems