提交 a2cf8222 编写于 作者: A Adrian Bunk 提交者: Steven Whitehouse

[GFS2] make gfs2_writepages() static

On Mon, Jan 29, 2007 at 08:45:28PM -0800, Andrew Morton wrote:
>...
> Changes since 2.6.20-rc6-mm2:
>...
>  git-gfs2-nmw.patch
>...
>  git trees
>...

This patch makes the needlessly global gfs2_writepages() static.
Signed-off-by: NAdrian Bunk <bunk@stusta.de>
Signed-off-by: NSteven Whitehouse <swhiteho@redhat.com>
上级 2d72e710
...@@ -170,7 +170,8 @@ static int gfs2_writepage(struct page *page, struct writeback_control *wbc) ...@@ -170,7 +170,8 @@ static int gfs2_writepage(struct page *page, struct writeback_control *wbc)
* and write whole extents at once. This is a big reduction in the * and write whole extents at once. This is a big reduction in the
* number of I/O requests we send and the bmap calls we make in this case. * number of I/O requests we send and the bmap calls we make in this case.
*/ */
int gfs2_writepages(struct address_space *mapping, struct writeback_control *wbc) static int gfs2_writepages(struct address_space *mapping,
struct writeback_control *wbc)
{ {
struct inode *inode = mapping->host; struct inode *inode = mapping->host;
struct gfs2_inode *ip = GFS2_I(inode); struct gfs2_inode *ip = GFS2_I(inode);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册