From: Russell King <rmk@arm.linux.org.uk>
To: Linus Torvalds <torvalds@transmeta.com>,
Linux Kernel List <linux-kernel@vger.kernel.org>,
David Woodhouse <dwmw2@cambridge.redhat.com>
Subject: [PATCH] Allow jffs2/super.c to build
Date: Wed, 5 Jun 2002 17:49:28 +0100 [thread overview]
Message-ID: <20020605174928.F10293@flint.arm.linux.org.uk> (raw)
Linus, lkml, dwmw2,
Note: This is not in the MTD CVS (I'm not clear on David's handling
of 2.5 MTD)
The following patch adds <linux/namei.h> which seems to be required to
allow fs/jffs2 to build in 2.5.20. This fixes all the following
warnings/errors:
super.c: In function `jffs2_get_sb':
super.c:197: storage size of `nd' isn't known
super.c:245: warning: implicit declaration of function `path_lookup'
super.c:245: `LOOKUP_FOLLOW' undeclared (first use in this function)
super.c:245: (Each undeclared identifier is reported only once
super.c:245: for each function it appears in.)
super.c:254: warning: implicit declaration of function `path_release'
super.c:197: warning: unused variable `nd'
diff -ur orig/fs/jffs2/super.c linux/fs/jffs2/super.c
--- orig/fs/jffs2/super.c Sat May 25 11:12:37 2002
+++ linux/fs/jffs2/super.c Sat May 25 11:16:14 2002
@@ -48,6 +48,7 @@
#include <linux/mtd/mtd.h>
#include <linux/interrupt.h>
#include <linux/ctype.h>
+#include <linux/namei.h>
#include "nodelist.h"
void jffs2_put_super (struct super_block *);
--
Russell King (rmk@arm.linux.org.uk) The developer of ARM Linux
http://www.arm.linux.org.uk/personal/aboutme.html
reply other threads:[~2002-06-05 16:49 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20020605174928.F10293@flint.arm.linux.org.uk \
--to=rmk@arm.linux.org.uk \
--cc=dwmw2@cambridge.redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.com \
/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