Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755714AbYGUTeO (ORCPT ); Mon, 21 Jul 2008 15:34:14 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754739AbYGUTdr (ORCPT ); Mon, 21 Jul 2008 15:33:47 -0400 Received: from smtp6.pp.htv.fi ([213.243.153.40]:46256 "EHLO smtp6.pp.htv.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754672AbYGUTdq (ORCPT ); Mon, 21 Jul 2008 15:33:46 -0400 Date: Mon, 21 Jul 2008 22:33:39 +0300 From: Adrian Bunk To: Christian Limpach , Jeremy Fitzhardinge , Jens Axboe Cc: xen-devel@lists.xensource.com, linux-kernel@vger.kernel.org Subject: [2.6 patch] xen-blkfront.c: make blkif_ioctl() static Message-ID: <20080721193339.GC14846@cs181140183.pp.htv.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 978 Lines: 27 This patch makes the needlessly global blkif_ioctl() static. Signed-off-by: Adrian Bunk --- c3e35790145bb28443ccb672fb46318e845c5f05 diff --git a/drivers/block/xen-blkfront.c b/drivers/block/xen-blkfront.c index 9ae05c5..3ca643c 100644 --- a/drivers/block/xen-blkfront.c +++ b/drivers/block/xen-blkfront.c @@ -154,8 +154,8 @@ static int blkif_getgeo(struct block_device *bd, struct hd_geometry *hg) return 0; } -int blkif_ioctl(struct inode *inode, struct file *filep, - unsigned command, unsigned long argument) +static int blkif_ioctl(struct inode *inode, struct file *filep, + unsigned command, unsigned long argument) { struct blkfront_info *info = inode->i_bdev->bd_disk->private_data; -- 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/