lkml.org 
[lkml]   [2002]   [Jun]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] Allow jffs2/super.c to build
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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:22    [W:0.036 / U:0.572 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site