summaryrefslogtreecommitdiffstats
path: root/drivers/block/xen-blkfront.c
diff options
context:
space:
mode:
authorAdrian Bunk2008-08-04 11:59:05 +0200
committerJens Axboe2008-08-06 12:30:04 +0200
commit62aa0054da220b8bbe6f23c0eb1d97a99005d0b3 (patch)
treefc56b0033c35ac84888cfd48f7013bf3790b3e85 /drivers/block/xen-blkfront.c
parentbio: make use of bvec_nr_vecs (diff)
downloadkernel-qcow2-linux-62aa0054da220b8bbe6f23c0eb1d97a99005d0b3.tar.gz
kernel-qcow2-linux-62aa0054da220b8bbe6f23c0eb1d97a99005d0b3.tar.xz
kernel-qcow2-linux-62aa0054da220b8bbe6f23c0eb1d97a99005d0b3.zip
xen-blkfront.c: make blkif_ioctl() static
This patch makes the needlessly global blkif_ioctl() static. Signed-off-by: Adrian Bunk <bunk@kernel.org> Acked-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'drivers/block/xen-blkfront.c')
-rw-r--r--drivers/block/xen-blkfront.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/xen-blkfront.c b/drivers/block/xen-blkfront.c
index 9ae05c584234..3ca643cafccd 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;