* [PATCH] include <linux/fs.h> into linux/ext2_fs.h @ 2008-09-10 11:22 Kirill A. Shutemov 2008-09-10 11:22 ` [PATCH] include <linux/types.h> into linux/dlm_plock.h for __u* typedef Kirill A. Shutemov 2008-09-10 11:27 ` [PATCH] include <linux/fs.h> into linux/ext2_fs.h Christoph Hellwig 0 siblings, 2 replies; 18+ messages in thread From: Kirill A. Shutemov @ 2008-09-10 11:22 UTC (permalink / raw) To: linux-kernel; +Cc: Kirill A. Shutemov, Andrew Morton, linux-ext4 linux/fs.h defines FS_IOC* needed by linux/ext2_fs.h Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: <linux-ext4@vger.kernel.org> --- include/linux/ext2_fs.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/linux/ext2_fs.h b/include/linux/ext2_fs.h index 2efe7b8..f23ba68 100644 --- a/include/linux/ext2_fs.h +++ b/include/linux/ext2_fs.h @@ -18,6 +18,7 @@ #include <linux/types.h> #include <linux/magic.h> +#include <linux/fs.h> /* * The second extended filesystem constants/structures -- 1.5.6.5.GIT ^ permalink raw reply related [flat|nested] 18+ messages in thread
* [PATCH] include <linux/types.h> into linux/dlm_plock.h for __u* typedef 2008-09-10 11:22 [PATCH] include <linux/fs.h> into linux/ext2_fs.h Kirill A. Shutemov @ 2008-09-10 11:22 ` Kirill A. Shutemov 2008-09-10 11:22 ` [PATCH] include <linux/types.h> into linux/if_addrlabel.h " Kirill A. Shutemov 2008-09-10 12:14 ` [PATCH] include <linux/types.h> into linux/dlm_plock.h for __u* typedef Alexey Dobriyan 2008-09-10 11:27 ` [PATCH] include <linux/fs.h> into linux/ext2_fs.h Christoph Hellwig 1 sibling, 2 replies; 18+ messages in thread From: Kirill A. Shutemov @ 2008-09-10 11:22 UTC (permalink / raw) To: linux-kernel Cc: Kirill A. Shutemov, Christine Caulfield, David Teigland, David Woodhouse, Andrew Morton Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name> Cc: Christine Caulfield <caulfie@redhat.com> Cc: David Teigland <teigland@redhat.com> Cc: David Woodhouse <dwmw2@infradead.org> Cc: Andrew Morton <akpm@linux-foundation.org> --- include/linux/dlm_plock.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/linux/dlm_plock.h b/include/linux/dlm_plock.h index 18d5fdb..2dd2124 100644 --- a/include/linux/dlm_plock.h +++ b/include/linux/dlm_plock.h @@ -9,6 +9,8 @@ #ifndef __DLM_PLOCK_DOT_H__ #define __DLM_PLOCK_DOT_H__ +#include <linux/types.h> + #define DLM_PLOCK_MISC_NAME "dlm_plock" #define DLM_PLOCK_VERSION_MAJOR 1 -- 1.5.6.5.GIT ^ permalink raw reply related [flat|nested] 18+ messages in thread
* [PATCH] include <linux/types.h> into linux/if_addrlabel.h for __u* typedef 2008-09-10 11:22 ` [PATCH] include <linux/types.h> into linux/dlm_plock.h for __u* typedef Kirill A. Shutemov @ 2008-09-10 11:22 ` Kirill A. Shutemov 2008-09-10 11:22 ` [PATCH] include <linux/videodev2.h> into linux/ivtv.h Kirill A. Shutemov 2008-09-10 12:14 ` [PATCH] include <linux/types.h> into linux/dlm_plock.h for __u* typedef Alexey Dobriyan 1 sibling, 1 reply; 18+ messages in thread From: Kirill A. Shutemov @ 2008-09-10 11:22 UTC (permalink / raw) To: linux-kernel; +Cc: Kirill A. Shutemov, David S. Miller, YOSHIFUJI Hideaki Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name> Cc: David S. Miller <davem@davemloft.net> Cc: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> --- include/linux/if_addrlabel.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/linux/if_addrlabel.h b/include/linux/if_addrlabel.h index 9fe79c9..89571f6 100644 --- a/include/linux/if_addrlabel.h +++ b/include/linux/if_addrlabel.h @@ -10,6 +10,8 @@ #ifndef __LINUX_IF_ADDRLABEL_H #define __LINUX_IF_ADDRLABEL_H +#include <linux/types.h> + struct ifaddrlblmsg { __u8 ifal_family; /* Address family */ -- 1.5.6.5.GIT ^ permalink raw reply related [flat|nested] 18+ messages in thread
* [PATCH] include <linux/videodev2.h> into linux/ivtv.h 2008-09-10 11:22 ` [PATCH] include <linux/types.h> into linux/if_addrlabel.h " Kirill A. Shutemov @ 2008-09-10 11:22 ` Kirill A. Shutemov 0 siblings, 0 replies; 18+ messages in thread From: Kirill A. Shutemov @ 2008-09-10 11:22 UTC (permalink / raw) To: linux-kernel; +Cc: Kirill A. Shutemov, David Woodhouse, Mauro Carvalho Chehab linux/videodev2.h defines enum v4l2_buf_type and struct v4l2_rect Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name> Cc: David Woodhouse <dwmw2@infradead.org> Cc: Mauro Carvalho Chehab <mchehab@infradead.org> --- include/linux/ivtv.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/linux/ivtv.h b/include/linux/ivtv.h index 17ca64b..f272028 100644 --- a/include/linux/ivtv.h +++ b/include/linux/ivtv.h @@ -23,6 +23,7 @@ #include <linux/compiler.h> #include <linux/types.h> +#include <linux/videodev2.h> /* ivtv knows several distinct output modes: MPEG streaming, YUV streaming, YUV updates through user DMA and the passthrough -- 1.5.6.5.GIT ^ permalink raw reply related [flat|nested] 18+ messages in thread
* Re: [PATCH] include <linux/types.h> into linux/dlm_plock.h for __u* typedef 2008-09-10 11:22 ` [PATCH] include <linux/types.h> into linux/dlm_plock.h for __u* typedef Kirill A. Shutemov 2008-09-10 11:22 ` [PATCH] include <linux/types.h> into linux/if_addrlabel.h " Kirill A. Shutemov @ 2008-09-10 12:14 ` Alexey Dobriyan 2008-09-10 12:55 ` Kirill A. Shutemov 2008-09-10 14:20 ` David Woodhouse 1 sibling, 2 replies; 18+ messages in thread From: Alexey Dobriyan @ 2008-09-10 12:14 UTC (permalink / raw) To: Kirill A. Shutemov Cc: linux-kernel, Christine Caulfield, David Teigland, David Woodhouse, Andrew Morton On Wed, Sep 10, 2008 at 02:22:04PM +0300, Kirill A. Shutemov wrote: > --- a/include/linux/dlm_plock.h > +++ b/include/linux/dlm_plock.h > +#include <linux/types.h> I'd say that unless you can demonstrate compilation breakage, these will only slow down compilation. ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH] include <linux/types.h> into linux/dlm_plock.h for __u* typedef 2008-09-10 12:14 ` [PATCH] include <linux/types.h> into linux/dlm_plock.h for __u* typedef Alexey Dobriyan @ 2008-09-10 12:55 ` Kirill A. Shutemov 2008-09-10 13:11 ` Alexey Dobriyan 2008-09-10 14:20 ` David Woodhouse 1 sibling, 1 reply; 18+ messages in thread From: Kirill A. Shutemov @ 2008-09-10 12:55 UTC (permalink / raw) To: Alexey Dobriyan Cc: linux-kernel, Christine Caulfield, David Teigland, David Woodhouse, Andrew Morton [-- Attachment #1: Type: text/plain, Size: 548 bytes --] On Wed, Sep 10, 2008 at 04:14:50PM +0400, Alexey Dobriyan wrote: > On Wed, Sep 10, 2008 at 02:22:04PM +0300, Kirill A. Shutemov wrote: > > --- a/include/linux/dlm_plock.h > > +++ b/include/linux/dlm_plock.h > > > +#include <linux/types.h> > > I'd say that unless you can demonstrate compilation breakage, these will > only slow down compilation. Do you think that minor slow down is worse than dependence on the order of inclusion? -- Regards, Kirill A. Shutemov + Belarus, Minsk + ALT Linux Team, http://www.altlinux.com/ [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 197 bytes --] ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH] include <linux/types.h> into linux/dlm_plock.h for __u* typedef 2008-09-10 12:55 ` Kirill A. Shutemov @ 2008-09-10 13:11 ` Alexey Dobriyan 2008-09-10 13:15 ` Kirill A. Shutemov 0 siblings, 1 reply; 18+ messages in thread From: Alexey Dobriyan @ 2008-09-10 13:11 UTC (permalink / raw) To: Kirill A. Shutemov Cc: linux-kernel, Christine Caulfield, David Teigland, David Woodhouse, Andrew Morton On Wed, Sep 10, 2008 at 03:55:04PM +0300, Kirill A. Shutemov wrote: > On Wed, Sep 10, 2008 at 04:14:50PM +0400, Alexey Dobriyan wrote: > > On Wed, Sep 10, 2008 at 02:22:04PM +0300, Kirill A. Shutemov wrote: > > > --- a/include/linux/dlm_plock.h > > > +++ b/include/linux/dlm_plock.h > > > > > +#include <linux/types.h> > > > > I'd say that unless you can demonstrate compilation breakage, these will > > only slow down compilation. > > Do you think that minor slow down is worse than dependence on the order of > inclusion? Since it compiles fine there is no such dependency. Just removing externs from function prototypes makes compiles go faster for _seconds_. ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH] include <linux/types.h> into linux/dlm_plock.h for __u* typedef 2008-09-10 13:11 ` Alexey Dobriyan @ 2008-09-10 13:15 ` Kirill A. Shutemov 2008-09-10 20:18 ` David Miller 0 siblings, 1 reply; 18+ messages in thread From: Kirill A. Shutemov @ 2008-09-10 13:15 UTC (permalink / raw) To: Alexey Dobriyan Cc: linux-kernel, Christine Caulfield, David Teigland, David Woodhouse, Andrew Morton [-- Attachment #1: Type: text/plain, Size: 1075 bytes --] On Wed, Sep 10, 2008 at 05:11:58PM +0400, Alexey Dobriyan wrote: > On Wed, Sep 10, 2008 at 03:55:04PM +0300, Kirill A. Shutemov wrote: > > On Wed, Sep 10, 2008 at 04:14:50PM +0400, Alexey Dobriyan wrote: > > > On Wed, Sep 10, 2008 at 02:22:04PM +0300, Kirill A. Shutemov wrote: > > > > --- a/include/linux/dlm_plock.h > > > > +++ b/include/linux/dlm_plock.h > > > > > > > +#include <linux/types.h> > > > > > > I'd say that unless you can demonstrate compilation breakage, these will > > > only slow down compilation. > > > > Do you think that minor slow down is worse than dependence on the order of > > inclusion? > > Since it compiles fine there is no such dependency. It doesn't compiles: $ make headers_install ... $ gcc usr/include/linux/dlm_plock.h usr/include/linux/dlm_plock.h:25: error: expected specifier-qualifier-list before ‘__u32’ > Just removing externs from function prototypes makes compiles go faster for > _seconds_. -- Regards, Kirill A. Shutemov + Belarus, Minsk + ALT Linux Team, http://www.altlinux.com/ [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 197 bytes --] ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH] include <linux/types.h> into linux/dlm_plock.h for __u* typedef 2008-09-10 13:15 ` Kirill A. Shutemov @ 2008-09-10 20:18 ` David Miller 2008-09-11 15:29 ` Kirill A. Shutemov 0 siblings, 1 reply; 18+ messages in thread From: David Miller @ 2008-09-10 20:18 UTC (permalink / raw) To: kirill; +Cc: adobriyan, linux-kernel, caulfie, teigland, dwmw2, akpm [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: Text/Plain; charset=utf-8, Size: 631 bytes --] From: "Kirill A. Shutemov" <kirill@shutemov.name> Date: Wed, 10 Sep 2008 16:15:13 +0300 > $ make headers_install > ... > $ gcc usr/include/linux/dlm_plock.h > usr/include/linux/dlm_plock.h:25: error: expected specifier-qualifier-list > before â__u32â That's not how this file is used by real applications. Anybody can cook up contrived cases like this. Please show a real application or kernel compilation which breaks because of the lack of types.h include here. ÿôèº{.nÇ+·®+%Ëÿ±éݶ\x17¥wÿº{.nÇ+·¥{±þG«éÿ{ayº\x1dÊÚë,j\a¢f£¢·hïêÿêçz_è®\x03(éÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?¨èÚ&£ø§~á¶iOæ¬z·vØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?I¥ ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH] include <linux/types.h> into linux/dlm_plock.h for __u* typedef 2008-09-10 20:18 ` David Miller @ 2008-09-11 15:29 ` Kirill A. Shutemov 0 siblings, 0 replies; 18+ messages in thread From: Kirill A. Shutemov @ 2008-09-11 15:29 UTC (permalink / raw) To: David Miller; +Cc: adobriyan, linux-kernel, caulfie, teigland, dwmw2, akpm [-- Attachment #1: Type: text/plain, Size: 833 bytes --] On Wed, Sep 10, 2008 at 01:18:24PM -0700, David Miller wrote: > From: "Kirill A. Shutemov" <kirill@shutemov.name> > Date: Wed, 10 Sep 2008 16:15:13 +0300 > > > $ make headers_install > > ... > > $ gcc usr/include/linux/dlm_plock.h > > usr/include/linux/dlm_plock.h:25: error: expected specifier-qualifier-list > > before ‘__u32’ > > That's not how this file is used by real applications. > Anybody can cook up contrived cases like this. > > Please show a real application or kernel compilation which breaks > because of the lack of types.h include here. Any application which include this header before linux/types.h (directly or indirectly) will get the error. It's dependence on the order of inclusion. -- Regards, Kirill A. Shutemov + Belarus, Minsk + ALT Linux Team, http://www.altlinux.com/ [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 197 bytes --] ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH] include <linux/types.h> into linux/dlm_plock.h for __u* typedef 2008-09-10 12:14 ` [PATCH] include <linux/types.h> into linux/dlm_plock.h for __u* typedef Alexey Dobriyan 2008-09-10 12:55 ` Kirill A. Shutemov @ 2008-09-10 14:20 ` David Woodhouse 1 sibling, 0 replies; 18+ messages in thread From: David Woodhouse @ 2008-09-10 14:20 UTC (permalink / raw) To: Alexey Dobriyan Cc: Kirill A. Shutemov, linux-kernel, Christine Caulfield, David Teigland, Andrew Morton On Wed, 2008-09-10 at 16:14 +0400, Alexey Dobriyan wrote: > On Wed, Sep 10, 2008 at 02:22:04PM +0300, Kirill A. Shutemov wrote: > > --- a/include/linux/dlm_plock.h > > +++ b/include/linux/dlm_plock.h > > > +#include <linux/types.h> > > I'd say that unless you can demonstrate compilation breakage, these will > only slow down compilation. Not really. GCC notices the include guard pattern and won't even bother to open the file the second and subsequent time it's included within a compilation. I'd be astonished if you can measure any real slowdown at all. -- David Woodhouse Open Source Technology Centre David.Woodhouse@intel.com Intel Corporation ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH] include <linux/fs.h> into linux/ext2_fs.h 2008-09-10 11:22 [PATCH] include <linux/fs.h> into linux/ext2_fs.h Kirill A. Shutemov 2008-09-10 11:22 ` [PATCH] include <linux/types.h> into linux/dlm_plock.h for __u* typedef Kirill A. Shutemov @ 2008-09-10 11:27 ` Christoph Hellwig 2008-09-10 11:40 ` Kirill A. Shutemov 1 sibling, 1 reply; 18+ messages in thread From: Christoph Hellwig @ 2008-09-10 11:27 UTC (permalink / raw) To: Kirill A. Shutemov; +Cc: linux-kernel, Andrew Morton, linux-ext4 On Wed, Sep 10, 2008 at 02:22:03PM +0300, Kirill A. Shutemov wrote: > linux/fs.h defines FS_IOC* needed by linux/ext2_fs.h And who cares? ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH] include <linux/fs.h> into linux/ext2_fs.h 2008-09-10 11:27 ` [PATCH] include <linux/fs.h> into linux/ext2_fs.h Christoph Hellwig @ 2008-09-10 11:40 ` Kirill A. Shutemov 2008-09-10 11:40 ` Christoph Hellwig 0 siblings, 1 reply; 18+ messages in thread From: Kirill A. Shutemov @ 2008-09-10 11:40 UTC (permalink / raw) To: Christoph Hellwig Cc: linux-kernel, Andrew Morton, linux-ext4, David Howells, Jens Axboe [-- Attachment #1: Type: text/plain, Size: 416 bytes --] On Wed, Sep 10, 2008 at 07:27:09AM -0400, Christoph Hellwig wrote: > On Wed, Sep 10, 2008 at 02:22:03PM +0300, Kirill A. Shutemov wrote: > > linux/fs.h defines FS_IOC* needed by linux/ext2_fs.h > > And who cares? It breaks building pam_mktemp at least. It's regression introduced by commit 36695673b. -- Regards, Kirill A. Shutemov + Belarus, Minsk + ALT Linux Team, http://www.altlinux.com/ [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 197 bytes --] ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH] include <linux/fs.h> into linux/ext2_fs.h 2008-09-10 11:40 ` Kirill A. Shutemov @ 2008-09-10 11:40 ` Christoph Hellwig 2008-09-10 11:49 ` Kirill A. Shutemov 0 siblings, 1 reply; 18+ messages in thread From: Christoph Hellwig @ 2008-09-10 11:40 UTC (permalink / raw) To: Kirill A. Shutemov Cc: Christoph Hellwig, linux-kernel, Andrew Morton, linux-ext4, David Howells, Jens Axboe On Wed, Sep 10, 2008 at 02:40:12PM +0300, Kirill A. Shutemov wrote: > On Wed, Sep 10, 2008 at 07:27:09AM -0400, Christoph Hellwig wrote: > > On Wed, Sep 10, 2008 at 02:22:03PM +0300, Kirill A. Shutemov wrote: > > > linux/fs.h defines FS_IOC* needed by linux/ext2_fs.h > > > > And who cares? > > It breaks building pam_mktemp at least. pam_mktemp should not use <linux/ext2_fs.h>, but rather <ext2fs/ext2_fs.h>. ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH] include <linux/fs.h> into linux/ext2_fs.h 2008-09-10 11:40 ` Christoph Hellwig @ 2008-09-10 11:49 ` Kirill A. Shutemov 2008-09-10 13:39 ` Eric Sandeen 0 siblings, 1 reply; 18+ messages in thread From: Kirill A. Shutemov @ 2008-09-10 11:49 UTC (permalink / raw) To: Christoph Hellwig Cc: linux-kernel, Andrew Morton, linux-ext4, David Howells, Jens Axboe [-- Attachment #1: Type: text/plain, Size: 697 bytes --] On Wed, Sep 10, 2008 at 07:40:42AM -0400, Christoph Hellwig wrote: > On Wed, Sep 10, 2008 at 02:40:12PM +0300, Kirill A. Shutemov wrote: > > On Wed, Sep 10, 2008 at 07:27:09AM -0400, Christoph Hellwig wrote: > > > On Wed, Sep 10, 2008 at 02:22:03PM +0300, Kirill A. Shutemov wrote: > > > > linux/fs.h defines FS_IOC* needed by linux/ext2_fs.h > > > > > > And who cares? Do you think it isn't error? > > It breaks building pam_mktemp at least. > > pam_mktemp should not use <linux/ext2_fs.h>, but rather > <ext2fs/ext2_fs.h>. Why linux/ext2_fs.h does export to userspace? -- Regards, Kirill A. Shutemov + Belarus, Minsk + ALT Linux Team, http://www.altlinux.com/ [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 197 bytes --] ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH] include <linux/fs.h> into linux/ext2_fs.h 2008-09-10 11:49 ` Kirill A. Shutemov @ 2008-09-10 13:39 ` Eric Sandeen 2008-09-10 13:47 ` Kirill A. Shutemov 0 siblings, 1 reply; 18+ messages in thread From: Eric Sandeen @ 2008-09-10 13:39 UTC (permalink / raw) To: Kirill A. Shutemov Cc: Christoph Hellwig, linux-kernel, Andrew Morton, linux-ext4, David Howells, Jens Axboe Kirill A. Shutemov wrote: > On Wed, Sep 10, 2008 at 07:40:42AM -0400, Christoph Hellwig wrote: >> On Wed, Sep 10, 2008 at 02:40:12PM +0300, Kirill A. Shutemov wrote: >>> On Wed, Sep 10, 2008 at 07:27:09AM -0400, Christoph Hellwig wrote: >>>> On Wed, Sep 10, 2008 at 02:22:03PM +0300, Kirill A. Shutemov wrote: >>>>> linux/fs.h defines FS_IOC* needed by linux/ext2_fs.h >>>> And who cares? > > Do you think it isn't error? > >>> It breaks building pam_mktemp at least. >> pam_mktemp should not use <linux/ext2_fs.h>, but rather >> <ext2fs/ext2_fs.h>. That's right. > Why linux/ext2_fs.h does export to userspace? > it does? $ grep header-y include/linux/Kbuild | wc -l 163 $ grep header-y include/linux/Kbuild | grep ext2 $ I think it does not. -Eric ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH] include <linux/fs.h> into linux/ext2_fs.h 2008-09-10 13:39 ` Eric Sandeen @ 2008-09-10 13:47 ` Kirill A. Shutemov 2008-09-10 14:57 ` Eric Sandeen 0 siblings, 1 reply; 18+ messages in thread From: Kirill A. Shutemov @ 2008-09-10 13:47 UTC (permalink / raw) To: Eric Sandeen Cc: Christoph Hellwig, linux-kernel, Andrew Morton, linux-ext4, David Howells, Jens Axboe [-- Attachment #1: Type: text/plain, Size: 1088 bytes --] On Wed, Sep 10, 2008 at 08:39:00AM -0500, Eric Sandeen wrote: > Kirill A. Shutemov wrote: > > On Wed, Sep 10, 2008 at 07:40:42AM -0400, Christoph Hellwig wrote: > >> On Wed, Sep 10, 2008 at 02:40:12PM +0300, Kirill A. Shutemov wrote: > >>> On Wed, Sep 10, 2008 at 07:27:09AM -0400, Christoph Hellwig wrote: > >>>> On Wed, Sep 10, 2008 at 02:22:03PM +0300, Kirill A. Shutemov wrote: > >>>>> linux/fs.h defines FS_IOC* needed by linux/ext2_fs.h > >>>> And who cares? > > > > Do you think it isn't error? > > > >>> It breaks building pam_mktemp at least. > >> pam_mktemp should not use <linux/ext2_fs.h>, but rather > >> <ext2fs/ext2_fs.h>. > > That's right. > > > Why linux/ext2_fs.h does export to userspace? > > > > it does? > > $ grep header-y include/linux/Kbuild | wc -l > 163 > $ grep header-y include/linux/Kbuild | grep ext2 > $ > > I think it does not. It does: $ grep unifdef-y include/linux/Kbuild | grep ext2 unifdef-y += ext2_fs.h -- Regards, Kirill A. Shutemov + Belarus, Minsk + ALT Linux Team, http://www.altlinux.com/ [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 197 bytes --] ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH] include <linux/fs.h> into linux/ext2_fs.h 2008-09-10 13:47 ` Kirill A. Shutemov @ 2008-09-10 14:57 ` Eric Sandeen 0 siblings, 0 replies; 18+ messages in thread From: Eric Sandeen @ 2008-09-10 14:57 UTC (permalink / raw) To: Kirill A. Shutemov Cc: Christoph Hellwig, linux-kernel, Andrew Morton, linux-ext4, David Howells, Jens Axboe Kirill A. Shutemov wrote: > On Wed, Sep 10, 2008 at 08:39:00AM -0500, Eric Sandeen wrote: >> I think it does not. > > It does: > > $ grep unifdef-y include/linux/Kbuild | grep ext2 > unifdef-y += ext2_fs.h Oops, I stand corrected :) -Eric ^ permalink raw reply [flat|nested] 18+ messages in thread
end of thread, other threads:[~2008-09-11 15:29 UTC | newest] Thread overview: 18+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2008-09-10 11:22 [PATCH] include <linux/fs.h> into linux/ext2_fs.h Kirill A. Shutemov 2008-09-10 11:22 ` [PATCH] include <linux/types.h> into linux/dlm_plock.h for __u* typedef Kirill A. Shutemov 2008-09-10 11:22 ` [PATCH] include <linux/types.h> into linux/if_addrlabel.h " Kirill A. Shutemov 2008-09-10 11:22 ` [PATCH] include <linux/videodev2.h> into linux/ivtv.h Kirill A. Shutemov 2008-09-10 12:14 ` [PATCH] include <linux/types.h> into linux/dlm_plock.h for __u* typedef Alexey Dobriyan 2008-09-10 12:55 ` Kirill A. Shutemov 2008-09-10 13:11 ` Alexey Dobriyan 2008-09-10 13:15 ` Kirill A. Shutemov 2008-09-10 20:18 ` David Miller 2008-09-11 15:29 ` Kirill A. Shutemov 2008-09-10 14:20 ` David Woodhouse 2008-09-10 11:27 ` [PATCH] include <linux/fs.h> into linux/ext2_fs.h Christoph Hellwig 2008-09-10 11:40 ` Kirill A. Shutemov 2008-09-10 11:40 ` Christoph Hellwig 2008-09-10 11:49 ` Kirill A. Shutemov 2008-09-10 13:39 ` Eric Sandeen 2008-09-10 13:47 ` Kirill A. Shutemov 2008-09-10 14:57 ` Eric Sandeen
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox