2.4.7ac8: small patch needed

Carlo E. Prelz (fluido@fluido.as)
Tue, 7 Aug 2001 09:55:37 +0200


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/