* [2.6 patch] xen-blkfront.c: make blkif_ioctl() static
@ 2008-07-21 19:33 Adrian Bunk
2008-07-21 21:03 ` Jeremy Fitzhardinge
0 siblings, 1 reply; 3+ messages in thread
From: Adrian Bunk @ 2008-07-21 19:33 UTC (permalink / raw)
To: Christian Limpach, Jeremy Fitzhardinge, Jens Axboe
Cc: xen-devel, linux-kernel
This patch makes the needlessly global blkif_ioctl() static.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
c3e35790145bb28443ccb672fb46318e845c5f05
diff --git a/drivers/block/xen-blkfront.c b/drivers/block/xen-blkfront.c
index 9ae05c5..3ca643c 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;
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [2.6 patch] xen-blkfront.c: make blkif_ioctl() static
2008-07-21 19:33 [2.6 patch] xen-blkfront.c: make blkif_ioctl() static Adrian Bunk
@ 2008-07-21 21:03 ` Jeremy Fitzhardinge
2008-08-04 10:00 ` Jens Axboe
0 siblings, 1 reply; 3+ messages in thread
From: Jeremy Fitzhardinge @ 2008-07-21 21:03 UTC (permalink / raw)
To: Adrian Bunk; +Cc: Christian Limpach, Jens Axboe, xen-devel, linux-kernel
Adrian Bunk wrote:
> 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>
> ---
> c3e35790145bb28443ccb672fb46318e845c5f05
> diff --git a/drivers/block/xen-blkfront.c b/drivers/block/xen-blkfront.c
> index 9ae05c5..3ca643c 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;
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-08-04 10:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-21 19:33 [2.6 patch] xen-blkfront.c: make blkif_ioctl() static Adrian Bunk
2008-07-21 21:03 ` Jeremy Fitzhardinge
2008-08-04 10:00 ` Jens Axboe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox