linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Steven Cole <elenstev@mesatop.com>
To: linux-kernel@vger.kernel.org
Cc: ignaciomonge@navegalia.com, alan@lxorguk.ukuu.org.uk
Subject: [PATCH] 2.4.0-ac9 fix for mm/shmem.c build error without CONFIG_SWAPFS enabled
Date: Sun, 14 Jan 2001 17:24:18 -0700	[thread overview]
Message-ID: <01011417241800.16223@localhost.localdomain> (raw)

On Sunday 14 January 2001 02:56, Christoph Rohland wrote:
> Steven Cole <elenstev@mesatop.com> writes:
> > Here is a little patch which also fixes the symptoms of the build
> > problem, and makes a kernel 1510 bytes smaller (without
> > CONFIG_SWAPFS).  Someone more knowlegable than I will have to verify
> > its correctness.
>
> Thanks, this is correct. I did not test the symlink fixes w/o
> CONFIG_SWAPFS. My bad.

Here is the patch again for those who missed it in the 
Re: Linux 2.4.0-ac9 thread.

Steven

--- linux/mm/shmem.c.orig       Sat Jan 13 20:23:36 2001
+++ linux/mm/shmem.c    Sat Jan 13 20:27:32 2001
@@ -968,8 +968,10 @@
 
 static struct inode_operations shmem_symlink_inode_operations = {
        truncate:       shmem_truncate,
+#ifdef CONFIG_SWAPFS
        readlink:       shmem_readlink,
        follow_link:    shmem_follow_link,
+#endif
 };
 
 static struct file_operations shmem_dir_operations = {
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

                 reply	other threads:[~2001-01-15  0:22 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=01011417241800.16223@localhost.localdomain \
    --to=elenstev@mesatop.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=ignaciomonge@navegalia.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).