2.4.7ac8: small patch needed

From: Carlo E. Prelz (fluido@fluido.as)
Date: Tue Aug 07 2001 - 02:55:37 EST


Hello. In order to compile 2.4.7ac8 I needed to apply this small
patch, otherwise it would not find function shmem_set_size:

--- shmem.c~ Tue Aug 7 07:17:36 2001
+++ shmem.c Tue Aug 7 08:56:41 2001
@@ -1419,9 +1419,11 @@
        }
        shm_mnt = res;

+#ifdef CONFIG_TMPFS
        /* The internal instance should not do size checking */
        if ((error = shmem_set_size(SHMEM_SB(res->mnt_sb), ULONG_MAX, ULONG_MAX)))
                printk (KERN_ERR "could not set limits on internal tmpfs\n");
+#endif

        return 0;
 }

Carlo

-- 
  *         Se la Strada e la sua Virtu' non fossero state messe da parte,
* K * Carlo E. Prelz - fluido@fluido.as             che bisogno ci sarebbe
  *               di parlare tanto di amore e di rettitudine? (Chuang-Tzu)
-
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 : Tue Aug 07 2001 - 21:00:43 EST