diff options
| author | Adrian Bunk <bunk@kernel.org> | 2008-08-04 05:59:05 -0400 |
|---|---|---|
| committer | Jens Axboe <jens.axboe@oracle.com> | 2008-08-06 06:30:04 -0400 |
| commit | 62aa0054da220b8bbe6f23c0eb1d97a99005d0b3 (patch) | |
| tree | fc56b0033c35ac84888cfd48f7013bf3790b3e85 /drivers | |
| parent | 1ac0ae062cecd37587f5b951089f90e1d9d91769 (diff) | |
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')
| -rw-r--r-- | drivers/block/xen-blkfront.c | 4 |
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) | |||
| 154 | return 0; | 154 | return 0; |
| 155 | } | 155 | } |
| 156 | 156 | ||
| 157 | int blkif_ioctl(struct inode *inode, struct file *filep, | 157 | static int blkif_ioctl(struct inode *inode, struct file *filep, |
| 158 | unsigned command, unsigned long argument) | 158 | unsigned command, unsigned long argument) |
| 159 | { | 159 | { |
| 160 | struct blkfront_info *info = | 160 | struct blkfront_info *info = |
| 161 | inode->i_bdev->bd_disk->private_data; | 161 | inode->i_bdev->bd_disk->private_data; |
