AUTOFS_TMPFS_FS_FLAGS is defined only in the Linux-specific
conf_linux.c file, so it cannot be built on Solaris.
From: Krisztian Kovacs <Kris.Kovacs@morganstanley.com>
2009-12-10 Christos Zoulas <christos@zoulas.com>
+ * Fix Linux-specific stuff in ops_tmpfs.c
+ AUTOFS_TMPFS_FS_FLAGS is defined only in the Linux-specific
+ conf_linux.c file, so it cannot be built on Solaris.
+ From: Krisztian Kovacs <Kris.Kovacs@morganstanley.com>
+
* Add missing parenthesis to fix defined(XXX
From: Krisztian Kovacs <Kris.Kovacs@morganstanley.com>
amfs_generic_find_srvr,
0, /* tmpfs_get_wchan */
FS_MKMNT | FS_NOTIMEOUT | FS_UBACKGROUND | FS_AMQINFO, /* nfs_fs_flags */
-#ifdef HAVE_FS_AUTOFS
+#if defined(HAVE_FS_AUTOFS) && defined(AUTOFS_TMPFS_FS_FLAGS)
AUTOFS_TMPFS_FS_FLAGS,
#endif /* HAVE_FS_AUTOFS */
};