recognize noacl
authorChristos Zoulas <christos@zoulas.com>
Fri, 23 Nov 2012 17:12:21 +0000 (12:12 -0500)
committerChristos Zoulas <christos@zoulas.com>
Fri, 23 Nov 2012 17:12:21 +0000 (12:12 -0500)
libamu/mount_fs.c

index 56a936f761e586709d8ba5ee0e54712a3064d918..92a80537348f0f68856a562a7045f56528b8d3c2 100644 (file)
@@ -609,6 +609,11 @@ compute_nfs_common_args(struct nfs_common_args *nap, mntent_t *mntp,
 # endif /* MNT2_NFS_OPT_NOINT */
 #endif /* MNTTAB_OPT_INTR */
 
+#ifdef MNT2_NFS_OPT_NOACL
+  if (amu_hasmntopt(mntp, MNTTAB_OPT_NOACL) != NULL)
+    nap->flags |= MNT2_NFS_OPT_NOACL;
+#endif /* MNT2_NFS_OPT_NOACL */
+
 #ifdef MNTTAB_OPT_NODEVS
   if (amu_hasmntopt(mntp, MNTTAB_OPT_NODEVS) != NULL)
     nap->flags |= MNT2_NFS_OPT_NODEVS;