Skip to content

Commit

Permalink
xen-blkfront.c: make blkif_ioctl() static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Adrian Bunk authored and Jens Axboe committed Aug 6, 2008
1 parent 1ac0ae0 commit 62aa005
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/block/xen-blkfront.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 62aa005

Please sign in to comment.