2002-01-05 13:04:30

by Adam J. Richter

[permalink] [raw]
Subject: Patch: linux-2.5.2-pre8/fs/jffs2 compilation fixes

linux-2.5.2-pre8/fs/jffs2 required a few minor
changes to make it compile. dir.c needed to include <linux/sched.h>
for CURRENT_TIME, and there were a couple of kdev-related changes.
Here is the patch.

It compiles. I have not otherwise tested it.

--
Adam J. Richter __ ______________ 4880 Stevens Creek Blvd, Suite 104
[email protected] \ / San Jose, California 95129-1034
+1 408 261-6630 | g g d r a s i l United States of America
fax +1 408 261-6631 "Free Software For The Rest Of Us."


Attachments:
(No filename) (541.00 B)
jffs2.diffs (1.34 kB)
Download all attachments

2002-01-07 08:50:23

by David Woodhouse

[permalink] [raw]
Subject: Re: Patch: linux-2.5.2-pre8/fs/jffs2 compilation fixes


[email protected] said:
> dir.c needed to include <linux/sched.h> for CURRENT_TIME, and there
> were a couple of kdev-related changes. Here is the patch.

Thanks. This, and the JFFS changes, look OK. I've merged the sched.h
inclusion into CVS, albeit without the comment - the Linux include files
are screwed up enough that it's best not to pretend there's any logic
behind what you have to include :)

I'm not merging the s/MAJOR/major/ changes into my tree just yet - I'm still
vaguely hoping the new macro will change name before 2.5.2 proper.

--
dwmw2