fix linux tmpfs (make it compile only)
authorChristos Zoulas <christos@zoulas.com>
Wed, 17 Sep 2008 21:59:31 +0000 (21:59 +0000)
committerChristos Zoulas <christos@zoulas.com>
Wed, 17 Sep 2008 21:59:31 +0000 (21:59 +0000)
conf/autofs/autofs_linux.h
include/am_compat.h

index 35f721dba92d60aeb6542cbe8d1cae6188826206..22f5f51420fabe8d6005700cee7f8a0543966c4c 100644 (file)
@@ -104,4 +104,5 @@ union autofs_packet_union {
 #define AUTOFS_PCFS_FS_FLAGS   (FS_UBACKGROUND | FS_AMQINFO | FS_ON_AUTOFS)
 #define AUTOFS_UFS_FS_FLAGS    (FS_NOTIMEOUT | FS_UBACKGROUND | FS_AMQINFO | FS_ON_AUTOFS)
 #define AUTOFS_XFS_FS_FLAGS    (FS_NOTIMEOUT | FS_UBACKGROUND | FS_AMQINFO | FS_ON_AUTOFS)
+#define AUTOFS_TMPFS_FS_FLAGS  (FS_NOTIMEOUT | FS_UBACKGROUND | FS_AMQINFO | FS_ON_AUTOFS)
 #endif /* HAVE_FS_AUTOFS */
index 0cbd27b4e479e9afb8a836a42488ebd246f51710..2eed19272ee338eee482ce5840ab10a432a211dd 100644 (file)
@@ -364,6 +364,10 @@ struct hsfs_args {
 # define efs_args_t u_int
 #endif /* defined(HAVE_FS_EFS) && !defined(efs_args_t) */
 
+#if defined(HAVE_FS_TMPFS) && !defined(tmpfs_args_t)
+# define tmpfs_args_t u_int
+#endif /* defined(HAVE_FS_TMPFS) && !defined(tmpfs_args_t) */
+
 /*
  * if does not define struct xfs_args, assume integer bit-field (linux)
  */