linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: ocfs2 tree build failure
@ 2008-11-25  5:42 Stephen Rothwell
  2008-11-26  5:30 ` Stephen Rothwell
  0 siblings, 1 reply; 8+ messages in thread
From: Stephen Rothwell @ 2008-11-25  5:42 UTC (permalink / raw)
  To: Mark Fasheh; +Cc: linux-next, Jan Kara

[-- Attachment #1: Type: text/plain, Size: 607 bytes --]

Hi Mark,

Today's linux-next build (x86_64 allmodconfig) failed like this:

usr/include/linux/dqblk_v2.h:8: included file 'linux/dqblk_qtree.h' is not exported
make[4]: *** [/scratch/sfr/x86_64_allmodconfig/usr/include/linux/.check] Error 1

Caused by commit 603f68d0c2b66052093ea29bf1ff7a8a58667af6 ("quota: Split
off quota tree handling into a separate file").  dqblk_qtree.h needs to
be added to the Kbuild file.

I have added that just for today.  I expect this to be fixed tomorrow.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: linux-next: ocfs2 tree build failure
  2008-11-25  5:42 Stephen Rothwell
@ 2008-11-26  5:30 ` Stephen Rothwell
  2008-11-26 20:43   ` Mark Fasheh
  0 siblings, 1 reply; 8+ messages in thread
From: Stephen Rothwell @ 2008-11-26  5:30 UTC (permalink / raw)
  To: Mark Fasheh; +Cc: linux-next, Jan Kara

[-- Attachment #1: Type: text/plain, Size: 697 bytes --]

Hi Mark,

On Tue, 25 Nov 2008 16:42:04 +1100 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> Today's linux-next build (x86_64 allmodconfig) failed like this:
> 
> usr/include/linux/dqblk_v2.h:8: included file 'linux/dqblk_qtree.h' is not exported
> make[4]: *** [/scratch/sfr/x86_64_allmodconfig/usr/include/linux/.check] Error 1
> 
> Caused by commit 603f68d0c2b66052093ea29bf1ff7a8a58667af6 ("quota: Split
> off quota tree handling into a separate file").  dqblk_qtree.h needs to
> be added to the Kbuild file.

Still fails, so I have dropped the ocfs2 tree for today.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: linux-next: ocfs2 tree build failure
  2008-11-26  5:30 ` Stephen Rothwell
@ 2008-11-26 20:43   ` Mark Fasheh
  2008-11-26 23:42     ` Stephen Rothwell
  0 siblings, 1 reply; 8+ messages in thread
From: Mark Fasheh @ 2008-11-26 20:43 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: linux-next, Jan Kara

On Wed, Nov 26, 2008 at 04:30:28PM +1100, Stephen Rothwell wrote:
> Hi Mark,
> 
> On Tue, 25 Nov 2008 16:42:04 +1100 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> >
> > Today's linux-next build (x86_64 allmodconfig) failed like this:
> > 
> > usr/include/linux/dqblk_v2.h:8: included file 'linux/dqblk_qtree.h' is not exported
> > make[4]: *** [/scratch/sfr/x86_64_allmodconfig/usr/include/linux/.check] Error 1
> > 
> > Caused by commit 603f68d0c2b66052093ea29bf1ff7a8a58667af6 ("quota: Split
> > off quota tree handling into a separate file").  dqblk_qtree.h needs to
> > be added to the Kbuild file.
> 
> Still fails, so I have dropped the ocfs2 tree for today.

Ok. Does the attached patch fix this for you? It's in ocfs2.git now.
	--Mark

--
Mark Fasheh

From: Jan Kara <jack@suse.cz>

[PATCH] quota: Unexport dqblk_v1.h and dqblk_v2.h

Unexport header files dqblk_v[12].h since except for quota format ID they
don't contain information userspace should be interested in. Move ID
definitions to quota.h.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
---
 include/linux/Kbuild     |    2 --
 include/linux/dqblk_v1.h |    3 ---
 include/linux/dqblk_v2.h |    3 ---
 include/linux/quota.h    |    4 ++++
 4 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/include/linux/Kbuild b/include/linux/Kbuild
index 0fd2da3..4c32642 100644
--- a/include/linux/Kbuild
+++ b/include/linux/Kbuild
@@ -56,8 +56,6 @@ header-y += dlm_device.h
 header-y += dlm_netlink.h
 header-y += dm-ioctl.h
 header-y += dn.h
-header-y += dqblk_v1.h
-header-y += dqblk_v2.h
 header-y += dqblk_xfs.h
 header-y += efs_fs_sb.h
 header-y += elf-fdpic.h
diff --git a/include/linux/dqblk_v1.h b/include/linux/dqblk_v1.h
index 9cea901..3713a72 100644
--- a/include/linux/dqblk_v1.h
+++ b/include/linux/dqblk_v1.h
@@ -5,9 +5,6 @@
 #ifndef _LINUX_DQBLK_V1_H
 #define _LINUX_DQBLK_V1_H
 
-/* Id of quota format */
-#define QFMT_VFS_OLD 1
-
 /* Root squash turned on */
 #define V1_DQF_RSQUASH 1
 
diff --git a/include/linux/dqblk_v2.h b/include/linux/dqblk_v2.h
index ff8af1b..18000a5 100644
--- a/include/linux/dqblk_v2.h
+++ b/include/linux/dqblk_v2.h
@@ -7,9 +7,6 @@
 
 #include <linux/dqblk_qtree.h>
 
-/* Id number of quota format */
-#define QFMT_VFS_V0 2
-
 /* Numbers of blocks needed for updates */
 #define V2_INIT_ALLOC QTREE_INIT_ALLOC
 #define V2_INIT_REWRITE QTREE_INIT_REWRITE
diff --git a/include/linux/quota.h b/include/linux/quota.h
index ec82beb..d72d5d8 100644
--- a/include/linux/quota.h
+++ b/include/linux/quota.h
@@ -70,6 +70,10 @@
 #define Q_GETQUOTA 0x800007	/* get user quota structure */
 #define Q_SETQUOTA 0x800008	/* set user quota structure */
 
+/* Quota format type IDs */
+#define	QFMT_VFS_OLD 1
+#define	QFMT_VFS_V0 2
+
 /* Size of block in which space limits are passed through the quota
  * interface */
 #define QIF_DQBLKSIZE_BITS 10
-- 
1.5.6

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: linux-next: ocfs2 tree build failure
  2008-11-26 20:43   ` Mark Fasheh
@ 2008-11-26 23:42     ` Stephen Rothwell
  2008-11-26 23:49       ` Mark Fasheh
  0 siblings, 1 reply; 8+ messages in thread
From: Stephen Rothwell @ 2008-11-26 23:42 UTC (permalink / raw)
  To: Mark Fasheh; +Cc: linux-next, Jan Kara

[-- Attachment #1: Type: text/plain, Size: 319 bytes --]

Hi Mark,

On Wed, 26 Nov 2008 12:43:48 -0800 Mark Fasheh <mfasheh@suse.com> wrote:
>
> Ok. Does the attached patch fix this for you? It's in ocfs2.git now.

That commit is not in your linux-next branch.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: linux-next: ocfs2 tree build failure
  2008-11-26 23:42     ` Stephen Rothwell
@ 2008-11-26 23:49       ` Mark Fasheh
  0 siblings, 0 replies; 8+ messages in thread
From: Mark Fasheh @ 2008-11-26 23:49 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: linux-next, Jan Kara

On Thu, Nov 27, 2008 at 10:42:41AM +1100, Stephen Rothwell wrote:
> Hi Mark,
> 
> On Wed, 26 Nov 2008 12:43:48 -0800 Mark Fasheh <mfasheh@suse.com> wrote:
> >
> > Ok. Does the attached patch fix this for you? It's in ocfs2.git now.
> 
> That commit is not in your linux-next branch.

Right, sorry - I forgot to update the linux-next branch after this mornings
merges. I'm uploading the changes now, they should be available soon.
	--Mark

--
Mark Fasheh

^ permalink raw reply	[flat|nested] 8+ messages in thread

* linux-next: ocfs2 tree build failure
@ 2009-01-08  2:01 Stephen Rothwell
  2009-01-08  2:14 ` Sunil Mushran
  2009-01-09  2:05 ` Mark Fasheh
  0 siblings, 2 replies; 8+ messages in thread
From: Stephen Rothwell @ 2009-01-08  2:01 UTC (permalink / raw)
  To: Mark Fasheh; +Cc: linux-next, Sunil Mushran

[-- Attachment #1: Type: text/plain, Size: 885 bytes --]

Hi Mark,

Today's linux-next build (x86_64 allmodconfig) failed like this:

fs/ocfs2/super.c: In function 'ocfs2_osb_dump':
fs/ocfs2/super.c:256: error: dereferencing pointer to incomplete type
fs/ocfs2/super.c:256: error: dereferencing pointer to incomplete type
fs/ocfs2/super.c:256: error: dereferencing pointer to incomplete type
fs/ocfs2/super.c:259: error: dereferencing pointer to incomplete type
fs/ocfs2/super.c:261: error: dereferencing pointer to incomplete type

Caused by commit 796868c27387ba9bbad6b9c6b770ed34e2809a73 ("ocfs2: Expose
the file system state via debugfs") since (despite being declared in
fs/ocfs2/ocfs2.h) the struct ocfs2_recovery_map definition is not exposed
beyond fs/ocfs2/journal.c.

I have dropped the ocfs2 tree for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: linux-next: ocfs2 tree build failure
  2009-01-08  2:01 linux-next: ocfs2 tree build failure Stephen Rothwell
@ 2009-01-08  2:14 ` Sunil Mushran
  2009-01-09  2:05 ` Mark Fasheh
  1 sibling, 0 replies; 8+ messages in thread
From: Sunil Mushran @ 2009-01-08  2:14 UTC (permalink / raw)
  To: Mark Fasheh; +Cc: Stephen Rothwell, linux-next

http://oss.oracle.com/pipermail/ocfs2-devel/2008-December/003552.html

This needs to be added.

Stephen Rothwell wrote:
> Hi Mark,
>
> Today's linux-next build (x86_64 allmodconfig) failed like this:
>
> fs/ocfs2/super.c: In function 'ocfs2_osb_dump':
> fs/ocfs2/super.c:256: error: dereferencing pointer to incomplete type
> fs/ocfs2/super.c:256: error: dereferencing pointer to incomplete type
> fs/ocfs2/super.c:256: error: dereferencing pointer to incomplete type
> fs/ocfs2/super.c:259: error: dereferencing pointer to incomplete type
> fs/ocfs2/super.c:261: error: dereferencing pointer to incomplete type
>
> Caused by commit 796868c27387ba9bbad6b9c6b770ed34e2809a73 ("ocfs2: Expose
> the file system state via debugfs") since (despite being declared in
> fs/ocfs2/ocfs2.h) the struct ocfs2_recovery_map definition is not exposed
> beyond fs/ocfs2/journal.c.
>
> I have dropped the ocfs2 tree for today.
>   

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: linux-next: ocfs2 tree build failure
  2009-01-08  2:01 linux-next: ocfs2 tree build failure Stephen Rothwell
  2009-01-08  2:14 ` Sunil Mushran
@ 2009-01-09  2:05 ` Mark Fasheh
  1 sibling, 0 replies; 8+ messages in thread
From: Mark Fasheh @ 2009-01-09  2:05 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: linux-next, Sunil Mushran

On Thu, Jan 08, 2009 at 01:01:58PM +1100, Stephen Rothwell wrote:
> Hi Mark,
> 
> Today's linux-next build (x86_64 allmodconfig) failed like this:
> 
> fs/ocfs2/super.c: In function 'ocfs2_osb_dump':
> fs/ocfs2/super.c:256: error: dereferencing pointer to incomplete type
> fs/ocfs2/super.c:256: error: dereferencing pointer to incomplete type
> fs/ocfs2/super.c:256: error: dereferencing pointer to incomplete type
> fs/ocfs2/super.c:259: error: dereferencing pointer to incomplete type
> fs/ocfs2/super.c:261: error: dereferencing pointer to incomplete type

This should be fixed now. Thanks for letting me know.
	--Mark

--
Mark Fasheh

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-01-09  2:05 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-08  2:01 linux-next: ocfs2 tree build failure Stephen Rothwell
2009-01-08  2:14 ` Sunil Mushran
2009-01-09  2:05 ` Mark Fasheh
  -- strict thread matches above, loose matches on Subject: below --
2008-11-25  5:42 Stephen Rothwell
2008-11-26  5:30 ` Stephen Rothwell
2008-11-26 20:43   ` Mark Fasheh
2008-11-26 23:42     ` Stephen Rothwell
2008-11-26 23:49       ` Mark Fasheh

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).