[PATCH] 2.4.9-ac11: fs/jffs/inode-v23.c

From: Frank Davis (fdavis@si.rr.com)
Date: Sun Sep 16 2001 - 21:01:41 EST


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


--- 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"));

-
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/



This archive was generated by hypermail 2b29 : Sun Sep 23 2001 - 21:00:18 EST