Re: [PATCH 8/67] aufs module global variables and operations

From: Jan Engelhardt
Date: Fri May 16 2008 - 11:36:52 EST



On Friday 2008-05-16 16:32, hooanon05@xxxxxxxxxxx wrote:
>+/* ---------------------------------------------------------------------- */
>+
>+/* fake Kconfig */

I doubt this is needed anymore:

>+#if 1
>+
>+#ifdef CONFIG_AUFS_HINOTIFY
>+#ifndef CONFIG_INOTIFY
>+#error enable CONFIG_INOTIFY to use CONFIG_AUFS_HINOTIFY.
>+#endif
>+#endif /* CONFIG_AUFS_HINOTIFY */
>+
>+#if AUFS_BRANCH_MAX > 511 && PAGE_SIZE > 4096
>+#warning pagesize is larger than 4kb, \
>+ CONFIG_AUFS_BRANCH_MAX_511 or smaller is recommended.
>+#endif
>+
>+#ifdef CONFIG_AUFS_STAT
>+#ifndef CONFIG_SYSFS
>+#error CONFIG_AUFS_STAT requires CONFIG_SYSFS.
>+#endif
>+#endif /* CONFIG_AUFS_STAT */
>+
>+#ifdef CONFIG_AUFS_SYSAUFS
>+#warning CONFIG_AUFS_SYSAUFS is unnecessary for linux-2.6.25 and later.
>+#endif
>+
>+#ifdef CONFIG_AUFS_EXPORT
>+#if !defined(CONFIG_EXPORTFS) && !defined(CONFIG_EXPORTFS_MODULE)
>+#error CONFIG_AUFS_EXPORT requires CONFIG_EXPORTFS
>+#endif
>+#if defined(CONFIG_EXPORTFS_MODULE) && defined(CONFIG_AUFS)
>+#error need CONFIG_EXPORTFS = y to link aufs statically with CONFIG_AUFS_EXPORT
>+#endif
>+#endif /* CONFIG_AUFS_EXPORT */
>+
...

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/