提交 62aa0054 编写于 作者: A Adrian Bunk 提交者: Jens Axboe

xen-blkfront.c: make blkif_ioctl() static

This patch makes the needlessly global blkif_ioctl() static.
Signed-off-by: NAdrian Bunk <bunk@kernel.org>
Acked-by: NJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
上级 1ac0ae06
...@@ -154,8 +154,8 @@ static int blkif_getgeo(struct block_device *bd, struct hd_geometry *hg) ...@@ -154,8 +154,8 @@ static int blkif_getgeo(struct block_device *bd, struct hd_geometry *hg)
return 0; return 0;
} }
int blkif_ioctl(struct inode *inode, struct file *filep, static int blkif_ioctl(struct inode *inode, struct file *filep,
unsigned command, unsigned long argument) unsigned command, unsigned long argument)
{ {
struct blkfront_info *info = struct blkfront_info *info =
inode->i_bdev->bd_disk->private_data; inode->i_bdev->bd_disk->private_data;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册