fix udf mounts for linux.
authorChristos Zoulas <christos@zoulas.com>
Tue, 6 Jan 2009 21:14:18 +0000 (21:14 +0000)
committerChristos Zoulas <christos@zoulas.com>
Tue, 6 Jan 2009 21:14:18 +0000 (21:14 +0000)
conf/autofs/autofs_linux.h
include/am_compat.h

index 22f5f51420fabe8d6005700cee7f8a0543966c4c..cff2ee036753d8ea0f7bae0d6118d21006a2aa8e 100644 (file)
@@ -98,6 +98,7 @@ union autofs_packet_union {
 
 #define AUTOFS_CACHEFS_FS_FLAGS        (FS_NOTIMEOUT | FS_UBACKGROUND | FS_AMQINFO | FS_ON_AUTOFS)
 #define AUTOFS_CDFS_FS_FLAGS   (FS_UBACKGROUND | FS_AMQINFO | FS_ON_AUTOFS)
+#define AUTOFS_UDF_FS_FLAGS    (FS_UBACKGROUND | FS_AMQINFO | FS_ON_AUTOFS)
 #define AUTOFS_EFS_FS_FLAGS    (FS_NOTIMEOUT | FS_UBACKGROUND | FS_AMQINFO | FS_ON_AUTOFS)
 #define AUTOFS_LOFS_FS_FLAGS   (FS_NOTIMEOUT | FS_UBACKGROUND | FS_AMQINFO | FS_ON_AUTOFS)
 #define AUTOFS_NFS_FS_FLAGS    (FS_BACKGROUND | FS_AMQINFO | FS_ON_AUTOFS)
index 031994f9ceceb3694234151ac0d9d0f2f77b45ac..4d25bb3c9b48180cae0d6314b1e2e390b2697ed1 100644 (file)
@@ -391,6 +391,13 @@ struct hsfs_args {
 # define ufs_args_t u_int
 #endif /* defined(HAVE_FS_UFS) && !defined(ufs_args_t) */
 
+/*
+ * if does not define struct udf_args, assume integer bit-field (linux)
+ */
+#if defined(HAVE_FS_UDF) && !defined(udf_args_t)
+# define udf_args_t u_int
+#endif /* defined(HAVE_FS_UDF) && !defined(udf_args_t) */
+
 /*
  * if does not define struct efs_args, assume integer bit-field (linux)
  */