* Re: [PATCH 1/2] fs/compat_ioctl: fix build when !BLOCK
[not found] <1240215264-8096-1-git-send-email-a.beregalov@gmail.com>
@ 2009-04-20 8:23 ` Alexander Beregalov
2009-04-21 7:32 ` Jens Axboe
1 sibling, 0 replies; 4+ messages in thread
From: Alexander Beregalov @ 2009-04-20 8:23 UTC (permalink / raw)
To: linux-next, linux-kernel, viro, axboe
Fixed "From:"
>From d16c036bfb869bf8b1d59f52fbaba868483915d1 Mon Sep 17 00:00:00 2001
From: Alexander Beregalov <a.beregalov@gmail.com>
Date: Mon, 20 Apr 2009 12:06:40 +0400
Subject: [PATCH 1/2] fs/compat_ioctl: fix build when !BLOCK
In file included from fs/compat_ioctl.c:61:
include/linux/loop.h:59: error: field 'lo_bio_list' has incomplete type
Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
---
fs/compat_ioctl.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c
index 3e87ce4..b83f6bc 100644
--- a/fs/compat_ioctl.c
+++ b/fs/compat_ioctl.c
@@ -58,7 +58,6 @@
#include <linux/i2c.h>
#include <linux/i2c-dev.h>
#include <linux/atalk.h>
-#include <linux/loop.h>
#include <net/bluetooth/bluetooth.h>
#include <net/bluetooth/hci.h>
@@ -68,6 +67,7 @@
#include <linux/gigaset_dev.h>
#ifdef CONFIG_BLOCK
+#include <linux/loop.h>
#include <scsi/scsi.h>
#include <scsi/scsi_ioctl.h>
#include <scsi/sg.h>
@@ -2660,6 +2660,8 @@ HANDLE_IOCTL(SONET_GETFRAMING, do_atm_ioctl)
HANDLE_IOCTL(SONET_GETFRSENSE, do_atm_ioctl)
/* block stuff */
#ifdef CONFIG_BLOCK
+/* loop */
+IGNORE_IOCTL(LOOP_CLR_FD)
/* Raw devices */
HANDLE_IOCTL(RAW_SETBIND, raw_ioctl)
HANDLE_IOCTL(RAW_GETBIND, raw_ioctl)
@@ -2728,9 +2730,6 @@ HANDLE_IOCTL(LPSETTIMEOUT, lp_timeout_trans)
IGNORE_IOCTL(VFAT_IOCTL_READDIR_BOTH32)
IGNORE_IOCTL(VFAT_IOCTL_READDIR_SHORT32)
-/* loop */
-IGNORE_IOCTL(LOOP_CLR_FD)
-
#ifdef CONFIG_SPARC
/* Sparc framebuffers, handled in sbusfb_compat_ioctl() */
IGNORE_IOCTL(FBIOGTYPE)
--
1.6.2.3
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 1/2] fs/compat_ioctl: fix build when !BLOCK
[not found] <1240215264-8096-1-git-send-email-a.beregalov@gmail.com>
2009-04-20 8:23 ` [PATCH 1/2] fs/compat_ioctl: fix build when !BLOCK Alexander Beregalov
@ 2009-04-21 7:32 ` Jens Axboe
2009-04-21 8:34 ` Alexander Beregalov
1 sibling, 1 reply; 4+ messages in thread
From: Jens Axboe @ 2009-04-21 7:32 UTC (permalink / raw)
To: Alexander Beregalov; +Cc: linux-next, linux-kernel, viro, alexb
On Mon, Apr 20 2009, Alexander Beregalov wrote:
> From: alexb <alexb@localhost.(none)>
>
> In file included from fs/compat_ioctl.c:61:
> include/linux/loop.h:59: error: field 'lo_bio_list' has incomplete type
>
> Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
Thanks, applied.
> ---
> fs/compat_ioctl.c | 7 +++----
> 1 files changed, 3 insertions(+), 4 deletions(-)
>
> diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c
> index 3e87ce4..b83f6bc 100644
> --- a/fs/compat_ioctl.c
> +++ b/fs/compat_ioctl.c
> @@ -58,7 +58,6 @@
> #include <linux/i2c.h>
> #include <linux/i2c-dev.h>
> #include <linux/atalk.h>
> -#include <linux/loop.h>
>
> #include <net/bluetooth/bluetooth.h>
> #include <net/bluetooth/hci.h>
> @@ -68,6 +67,7 @@
> #include <linux/gigaset_dev.h>
>
> #ifdef CONFIG_BLOCK
> +#include <linux/loop.h>
> #include <scsi/scsi.h>
> #include <scsi/scsi_ioctl.h>
> #include <scsi/sg.h>
> @@ -2660,6 +2660,8 @@ HANDLE_IOCTL(SONET_GETFRAMING, do_atm_ioctl)
> HANDLE_IOCTL(SONET_GETFRSENSE, do_atm_ioctl)
> /* block stuff */
> #ifdef CONFIG_BLOCK
> +/* loop */
> +IGNORE_IOCTL(LOOP_CLR_FD)
> /* Raw devices */
> HANDLE_IOCTL(RAW_SETBIND, raw_ioctl)
> HANDLE_IOCTL(RAW_GETBIND, raw_ioctl)
> @@ -2728,9 +2730,6 @@ HANDLE_IOCTL(LPSETTIMEOUT, lp_timeout_trans)
> IGNORE_IOCTL(VFAT_IOCTL_READDIR_BOTH32)
> IGNORE_IOCTL(VFAT_IOCTL_READDIR_SHORT32)
>
> -/* loop */
> -IGNORE_IOCTL(LOOP_CLR_FD)
> -
> #ifdef CONFIG_SPARC
> /* Sparc framebuffers, handled in sbusfb_compat_ioctl() */
> IGNORE_IOCTL(FBIOGTYPE)
> --
> 1.6.2.3
>
--
Jens Axboe
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 1/2] fs/compat_ioctl: fix build when !BLOCK
2009-04-21 7:32 ` Jens Axboe
@ 2009-04-21 8:34 ` Alexander Beregalov
2009-04-21 9:21 ` Jens Axboe
0 siblings, 1 reply; 4+ messages in thread
From: Alexander Beregalov @ 2009-04-21 8:34 UTC (permalink / raw)
To: Jens Axboe; +Cc: linux-next, linux-kernel, viro
2009/4/21 Jens Axboe <jens.axboe@oracle.com>:
> On Mon, Apr 20 2009, Alexander Beregalov wrote:
>> From: alexb <alexb@localhost.(none)>
>>
>> In file included from fs/compat_ioctl.c:61:
>> include/linux/loop.h:59: error: field 'lo_bio_list' has incomplete type
>>
>> Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
>
> Thanks, applied.
Hi Jens
Al has already sent it to Linus.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 1/2] fs/compat_ioctl: fix build when !BLOCK
2009-04-21 8:34 ` Alexander Beregalov
@ 2009-04-21 9:21 ` Jens Axboe
0 siblings, 0 replies; 4+ messages in thread
From: Jens Axboe @ 2009-04-21 9:21 UTC (permalink / raw)
To: Alexander Beregalov; +Cc: linux-next, linux-kernel, viro
On Tue, Apr 21 2009, Alexander Beregalov wrote:
> 2009/4/21 Jens Axboe <jens.axboe@oracle.com>:
> > On Mon, Apr 20 2009, Alexander Beregalov wrote:
> >> From: alexb <alexb@localhost.(none)>
> >>
> >> In file included from fs/compat_ioctl.c:61:
> >> include/linux/loop.h:59: error: field 'lo_bio_list' has incomplete type
> >>
> >> Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
> >
> > Thanks, applied.
>
> Hi Jens
>
> Al has already sent it to Linus.
Oh, it's not in current -git. But it's not a problem, I notice those
kind of things when preparing the push.
--
Jens Axboe
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-04-21 9:21 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <1240215264-8096-1-git-send-email-a.beregalov@gmail.com>
2009-04-20 8:23 ` [PATCH 1/2] fs/compat_ioctl: fix build when !BLOCK Alexander Beregalov
2009-04-21 7:32 ` Jens Axboe
2009-04-21 8:34 ` Alexander Beregalov
2009-04-21 9:21 ` Jens Axboe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).