提交 c548a1c1 编写于 作者: A Andrew Price 提交者: Bob Peterson

gfs2: Make gfs2_write_full_page static

It only gets called from aops.c and doesn't appear in any headers.
Signed-off-by: NAndrew Price <anprice@redhat.com>
Signed-off-by: NBob Peterson <rpeterso@redhat.com>
上级 aacee720
...@@ -143,8 +143,8 @@ static int gfs2_writepage(struct page *page, struct writeback_control *wbc) ...@@ -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 /* This is the same as calling block_write_full_page, but it also
* writes pages outside of i_size * writes pages outside of i_size
*/ */
int gfs2_write_full_page(struct page *page, get_block_t *get_block, static int gfs2_write_full_page(struct page *page, get_block_t *get_block,
struct writeback_control *wbc) struct writeback_control *wbc)
{ {
struct inode * const inode = page->mapping->host; struct inode * const inode = page->mapping->host;
loff_t i_size = i_size_read(inode); loff_t i_size = i_size_read(inode);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册