From: Jeffrey Hundstad <jeffrey.hundstad@mnsu.edu>
To: Linus Torvalds <torvalds@osdl.org>
Cc: Andrew Morton <akpm@osdl.org>, Zan Lynx <zlynx@acm.org>,
ak@muc.de,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
xfs-masters@oss.sgi.com, nathans@sgi.com
Subject: Re: Linux 2.6.15-rc2
Date: Tue, 22 Nov 2005 21:41:42 -0600 [thread overview]
Message-ID: <4383E4F6.8000202@mnsu.edu> (raw)
In-Reply-To: <Pine.LNX.4.64.0511221735400.13959@g5.osdl.org>
Linus Torvalds wrote:
>On Tue, 22 Nov 2005, Andrew Morton wrote:
>
>
>>>Why does it happen at all, though?
>>>
>>>
>>davem recently merged a patch which adds ext3 ioctls to fs/compat_ioctl.c.
>>That required inclusion of ext3 and jbd header files. Those files explode
>>unpleasantly when CONFIG_JBD=n.
>>
>>
>
>Oh. How about just making jbd.h do the rigt thing, and not care about the
>configuration?
>
>If we include jbd.h, we want the jbd data structures. There's never any
>reason to care whether jbd is enabled or not afaik.
>
>Ie maybe just something like this?
>
>(Untested, obviously. I'm just assuming that anything that actually
>_needs_ the jbd functionality should have made sure that jdb is enabled.)
>
>Zan, Jeffrey?
>
> Linus
>---
>diff --git a/include/linux/jbd.h b/include/linux/jbd.h
>index aa56172..dcde7ad 100644
>--- a/include/linux/jbd.h
>+++ b/include/linux/jbd.h
>@@ -16,8 +16,6 @@
> #ifndef _LINUX_JBD_H
> #define _LINUX_JBD_H
>
>-#if defined(CONFIG_JBD) || defined(CONFIG_JBD_MODULE) || !defined(__KERNEL__)
>-
> /* Allow this file to be included directly into e2fsprogs */
> #ifndef __KERNEL__
> #include "jfs_compat.h"
>@@ -1083,19 +1081,4 @@ extern int jbd_blocks_per_page(struct in
>
> #endif /* __KERNEL__ */
>
>-#endif /* CONFIG_JBD || CONFIG_JBD_MODULE || !__KERNEL__ */
>-
>-/*
>- * Compatibility no-ops which allow the kernel to compile without CONFIG_JBD
>- * go here.
>- */
>-
>-#if defined(__KERNEL__) && !(defined(CONFIG_JBD) || defined(CONFIG_JBD_MODULE))
>-
>-#define J_ASSERT(expr) do {} while (0)
>-#define J_ASSERT_BH(bh, expr) do {} while (0)
>-#define buffer_jbd(bh) 0
>-#define journal_buffer_journal_lru(bh) 0
>-
>-#endif /* defined(__KERNEL__) && !defined(CONFIG_JBD) */
> #endif /* _LINUX_JBD_H */
>
>
This one compiles and boots just fine. I was also able to loop mount an
ext2 filesystem.
Thanks for all the effort!
BTW: Since I have your ear, this same version DOES seem to have some
other bug as well. I did a "make distclean" and the "rm -f" of all he
object files hung forever in "D" state. I'm using XFS on IDE disks.
I'm using the same config as was posted before. I didn't get anything
in an log files that would indicate a problem. Has this been reported?
If not, what can I do to make a meaningful report?
--
Jeffrey Hundstad
next prev parent reply other threads:[~2005-11-23 3:41 UTC|newest]
Thread overview: 70+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-20 3:40 Linux 2.6.15-rc2 Linus Torvalds
2005-11-20 5:18 ` Gene Heskett
2005-11-20 17:02 ` Gene Heskett
2005-11-20 17:37 ` Gene Heskett
2005-11-20 19:17 ` Gene Heskett
2005-11-20 22:36 ` Kasper Sandberg
2005-11-20 23:58 ` Gene Heskett
2005-11-21 21:17 ` Kasper Sandberg
2005-11-21 23:52 ` Gene Heskett
2005-11-23 9:04 ` Kasper Sandberg
2005-11-21 0:15 ` Johannes Stezenbach
2005-11-21 1:07 ` Gene Heskett
2005-11-21 1:32 ` Johannes Stezenbach
2005-11-21 1:49 ` Gene Heskett
2005-11-23 1:56 ` Michael Krufky
2005-11-23 4:36 ` Gene Heskett
2005-11-23 17:42 ` Adrian Bunk
2005-11-23 18:19 ` Gene Heskett
2005-11-23 18:26 ` Sam Ravnborg
2005-11-23 18:38 ` Adrian Bunk
2005-11-26 20:30 ` [PATCH] fix broken hybrid v4l-dvb frontend selection Michael Krufky
2005-11-23 18:31 ` Linux 2.6.15-rc2 Gene Heskett
2005-11-23 19:17 ` Michael Krufky
2005-11-23 19:36 ` Gene Heskett
2005-11-23 19:54 ` Michael Krufky
2005-11-23 20:14 ` Gene Heskett
2005-11-23 20:28 ` Michael Krufky
2005-11-23 21:26 ` Hugh Dickins
2005-11-23 22:36 ` Gene Heskett
2005-11-23 23:40 ` Hugh Dickins
2005-11-23 23:53 ` Gene Heskett
2005-11-24 0:37 ` Gene Heskett
2005-11-24 7:45 ` Hugh Dickins
2005-11-24 15:15 ` Gene Heskett
2005-11-24 17:02 ` Michael Krufky
2005-11-24 19:07 ` [PATCH] hybrid v4l/dvb advanced frontend selection fix Michael Krufky
2005-11-24 4:40 ` Linux 2.6.15-rc2 Paul Jackson
2005-11-23 20:38 ` Adrian Bunk
2005-11-23 20:49 ` Michael Krufky
2005-11-23 21:04 ` Adrian Bunk
2005-11-20 13:20 ` Michael Geithe
2005-11-20 14:52 ` cinergyT2 oops (was Re: Linux 2.6.15-rc2) Alexey Dobriyan
2005-11-20 15:04 ` Michael Geithe
2005-11-20 16:13 ` Linux 2.6.15-rc2 Dmitry Torokhov
2005-11-20 19:13 ` Michael Geithe
2005-11-22 4:30 ` Jeffrey Hundstad
2005-11-22 23:00 ` Andrew Morton
2005-11-23 0:50 ` Linus Torvalds
2005-11-23 1:05 ` Andrew Morton
2005-11-23 1:32 ` Andi Kleen
2005-11-23 1:43 ` Linus Torvalds
2005-11-23 2:16 ` David S. Miller
2005-11-23 1:39 ` Linus Torvalds
2005-11-23 2:08 ` Andrew Morton
2005-11-23 3:41 ` Jeffrey Hundstad [this message]
2005-11-23 3:48 ` Linus Torvalds
2005-11-23 16:48 ` Jeffrey Hundstad
2005-11-23 5:01 ` Zan Lynx
2005-11-23 1:14 ` Zan Lynx
2005-11-23 4:42 ` Gene Heskett
2005-11-24 12:37 ` Ed Tomlinson
2005-11-24 13:07 ` Andreas Ericsson
2005-11-24 18:44 ` Linus Torvalds
2005-11-24 19:42 ` Junio C Hamano
2005-11-24 19:57 ` Linus Torvalds
2005-11-24 21:02 ` Junio C Hamano
2005-11-24 18:37 ` Linus Torvalds
2005-11-24 19:52 ` Nick Hengeveld
2005-11-25 2:50 ` Ed Tomlinson
2005-11-25 8:42 ` Andreas Ericsson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4383E4F6.8000202@mnsu.edu \
--to=jeffrey.hundstad@mnsu.edu \
--cc=ak@muc.de \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nathans@sgi.com \
--cc=torvalds@osdl.org \
--cc=xfs-masters@oss.sgi.com \
--cc=zlynx@acm.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox