Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933877AbWKTC1w (ORCPT ); Sun, 19 Nov 2006 21:27:52 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S933884AbWKTC1l (ORCPT ); Sun, 19 Nov 2006 21:27:41 -0500 Received: from emailhub.stusta.mhn.de ([141.84.69.5]:45585 "HELO mailout.stusta.mhn.de") by vger.kernel.org with SMTP id S933883AbWKTCYO (ORCPT ); Sun, 19 Nov 2006 21:24:14 -0500 Date: Mon, 20 Nov 2006 03:24:13 +0100 From: Adrian Bunk To: Andrew Morton , "Martin J. Bligh" Cc: linux-kernel@vger.kernel.org, linux-ext4@vger.kernel.or Subject: [-mm patch] make ext2_get_blocks() static Message-ID: <20061120022413.GN31879@stusta.de> References: <20061114014125.dd315fff.akpm@osdl.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061114014125.dd315fff.akpm@osdl.org> User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1128 Lines: 36 On Tue, Nov 14, 2006 at 01:41:25AM -0800, Andrew Morton wrote: >... > Changes since 2.6.19-rc5-mm2: >... > +ext2-reservations.patch >... > Port the ext3 reservations code into ext2. >... This patch makes the needlessly global ext2_get_blocks() static. Signed-off-by: Adrian Bunk --- linux-2.6.19-rc5-mm2/fs/ext2/inode.c.old 2006-11-20 01:35:58.000000000 +0100 +++ linux-2.6.19-rc5-mm2/fs/ext2/inode.c 2006-11-20 01:36:08.000000000 +0100 @@ -574,10 +574,10 @@ * return = 0, if plain lookup failed. * return < 0, error case. */ -int ext2_get_blocks(struct inode *inode, - sector_t iblock, unsigned long maxblocks, - struct buffer_head *bh_result, - int create) +static int ext2_get_blocks(struct inode *inode, + sector_t iblock, unsigned long maxblocks, + struct buffer_head *bh_result, + int create) { int err = -EIO; int offsets[4]; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/