[Cluster-devel] [PATCH] gfs2: Make gfs2_write_full_page static
Bob Peterson
rpeterso at redhat.com
Fri Feb 3 13:33:07 UTC 2017
----- Original Message -----
| It only gets called from aops.c and doesn't appear in any headers.
|
| Signed-off-by: Andrew Price <anprice at redhat.com>
| ---
| 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
More information about the Cluster-devel
mailing list