lkml.org 
[lkml]   [2001]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Date
Subject[PATCH] 2.4.0-ac9 fix for mm/shmem.c build error without CONFIG_SWAPFS enabled
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/
\
 
 \ /
  Last update: 2005-03-22 13:28    [W:0.016 / U:3.424 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site