浏览代码

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>
Adrian Bunk 16 年之前
父节点
当前提交
62aa0054da
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      drivers/block/xen-blkfront.c

+ 2 - 2
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;