From: "Adam J. Richter" <adam@yggdrasil.com>
To: jffs-dev@axis.com, linux-kernel@vger.kernel.org
Subject: Patch: linux-2.5.2-pre8/fs/jffs kdev_t compilation fixes
Date: Sat, 5 Jan 2002 05:01:39 -0800 [thread overview]
Message-ID: <20020105050139.A25057@baldur.yggdrasil.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 446 bytes --]
Here is a patch for a couple of kdev-related fixes needed
to make linux-2.5.2-pre8/fs/jffs compile.
I know it compiles. I have not otherwise tested it.
--
Adam J. Richter __ ______________ 4880 Stevens Creek Blvd, Suite 104
adam@yggdrasil.com \ / 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."
[-- Attachment #2: jffs.diffs --]
[-- Type: text/plain, Size: 855 bytes --]
Only in linux/fs/jffs: CVS
diff -u -r linux-2.5.2-pre8/fs/jffs/inode-v23.c linux/fs/jffs/inode-v23.c
--- linux-2.5.2-pre8/fs/jffs/inode-v23.c Fri Jan 4 19:40:37 2002
+++ linux/fs/jffs/inode-v23.c Sat Jan 5 04:55:37 2002
@@ -357,7 +357,7 @@
inode->i_nlink = raw_inode->nlink;
inode->i_uid = raw_inode->uid;
inode->i_gid = raw_inode->gid;
- inode->i_rdev = 0;
+ inode->i_rdev = NODEV;
inode->i_size = raw_inode->dsize;
inode->i_atime = raw_inode->atime;
inode->i_mtime = raw_inode->mtime;
diff -u -r linux-2.5.2-pre8/fs/jffs/jffs_fm.c linux/fs/jffs/jffs_fm.c
--- linux-2.5.2-pre8/fs/jffs/jffs_fm.c Thu Oct 4 15:13:18 2001
+++ linux/fs/jffs/jffs_fm.c Sat Jan 5 04:55:37 2002
@@ -46,7 +46,7 @@
}
DJM(no_jffs_fmcontrol++);
- mtd = get_mtd_device(NULL, MINOR(dev));
+ mtd = get_mtd_device(NULL, minor(dev));
if (!mtd) {
kfree(fmc);
reply other threads:[~2002-01-05 13:02 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=20020105050139.A25057@baldur.yggdrasil.com \
--to=adam@yggdrasil.com \
--cc=jffs-dev@axis.com \
--cc=linux-kernel@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).