All of lore.kernel.org
 help / color / mirror / Atom feed
From: Frank Davis <fdavis@si.rr.com>
To: linux-kernel@vger.kernel.org
Cc: alan@lxorguk.ukuu.org.uk
Subject: [PATCH] 2.4.9-ac11: fs/jffs/inode-v23.c
Date: Sun, 16 Sep 2001 22:01:41 -0400	[thread overview]
Message-ID: <3BA55985.8070708@si.rr.com> (raw)

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

                 reply	other threads:[~2001-09-17  2:00 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=3BA55985.8070708@si.rr.com \
    --to=fdavis@si.rr.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.