From: Adrian Bunk Date: Tue, 6 Feb 2007 22:12:49 +0000 (+0100) Subject: [GFS2] make gfs2_writepages() static X-Git-Tag: MMI-PSA29.97-13-9~44985^2~15^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a2cf822274b3d58a16a65c8338e299e18b3dc3a4;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git [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: Adrian Bunk Signed-off-by: Steven Whitehouse --- diff --git a/fs/gfs2/ops_address.c b/fs/gfs2/ops_address.c index 5e9653c4d886..56e33590b656 100644 --- a/fs/gfs2/ops_address.c +++ b/fs/gfs2/ops_address.c @@ -170,7 +170,8 @@ out_ignore: * 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. */ -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 gfs2_inode *ip = GFS2_I(inode);