* [PATCH] 2.4.9-ac11: fs/jffs/inode-v23.c
@ 2001-09-17 2:01 Frank Davis
0 siblings, 0 replies; only message in thread
From: Frank Davis @ 2001-09-17 2:01 UTC (permalink / raw)
To: linux-kernel; +Cc: alan
[-- Attachment #1: Type: text/plain, Size: 221 bytes --]
Hello,
The following patch fixes the following compile error with
2.4.9-ac11 . Please test. Thanks.
depmod: *** Unresolved symbols in
/lib/modules/2.4.9-ac11/kernel/fs/jffs/jffs.o
depmod: jffs_min
Regards,
Frank
[-- Attachment #2: INODEV23 --]
[-- Type: text/plain, Size: 734 bytes --]
--- fs/jffs/inode-v23.c.old Sun Sep 16 17:50:01 2001
+++ fs/jffs/inode-v23.c Sun Sep 16 21:20:58 2001
@@ -1375,7 +1375,7 @@
* -- prumpf
*/
- thiscount = jffs_min(c->fmc->max_chunk_size - sizeof(struct jffs_raw_inode), count);
+ thiscount = min(c->fmc->max_chunk_size - sizeof(struct jffs_raw_inode), count);
D3(printk (KERN_NOTICE "file_write(): down biglock\n"));
down(&c->fmc->biglock);
@@ -1466,7 +1466,7 @@
D3(printk("jffs_file_write(): new f_pos %ld.\n", (long)pos));
- thiscount = jffs_min(c->fmc->max_chunk_size - sizeof(struct jffs_raw_inode), count);
+ thiscount = min(c->fmc->max_chunk_size - sizeof(struct jffs_raw_inode), count);
}
out:
D3(printk (KERN_NOTICE "file_write(): up biglock\n"));
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-09-17 2:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-17 2:01 [PATCH] 2.4.9-ac11: fs/jffs/inode-v23.c Frank Davis
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).