summaryrefslogtreecommitdiffstats
path: root/sys/ufs
diff options
context:
space:
mode:
authortrhodes <trhodes@FreeBSD.org>2006-04-22 04:22:15 +0000
committertrhodes <trhodes@FreeBSD.org>2006-04-22 04:22:15 +0000
commit5b0dea644df435b9ef55201e3dc2e7f0e838a14f (patch)
tree7be891cac9bd4c45b84545add0f9aa9f2a2c8d8a /sys/ufs
parent83319e2271001d18b3353dfc04e4ce325253070d (diff)
downloadFreeBSD-src-5b0dea644df435b9ef55201e3dc2e7f0e838a14f.zip
FreeBSD-src-5b0dea644df435b9ef55201e3dc2e7f0e838a14f.tar.gz
Revert previous to this file before an actual request is made.
Diffstat (limited to 'sys/ufs')
-rw-r--r--sys/ufs/ffs/ffs_vfsops.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/sys/ufs/ffs/ffs_vfsops.c b/sys/ufs/ffs/ffs_vfsops.c
index 8075bb1..0d8372a 100644
--- a/sys/ufs/ffs/ffs_vfsops.c
+++ b/sys/ufs/ffs/ffs_vfsops.c
@@ -760,9 +760,21 @@ ffs_mountfs(devvp, mp, td)
mp->mnt_maxsymlinklen = fs->fs_maxsymlinklen;
mp->mnt_flag |= MNT_LOCAL;
if ((fs->fs_flags & FS_MULTILABEL) != 0)
+#ifdef MAC
mp->mnt_flag |= MNT_MULTILABEL;
+#else
+ printf(
+"WARNING: %s: multilabel flag on fs but no MAC support\n",
+ fs->fs_fsmnt);
+#endif
if ((fs->fs_flags & FS_ACLS) != 0)
+#ifdef UFS_ACL
mp->mnt_flag |= MNT_ACLS;
+#else
+ printf(
+"WARNING: %s: ACLs flag on fs but no ACLs support\n",
+ fs->fs_fsmnt);
+#endif
ump->um_mountp = mp;
ump->um_dev = dev;
ump->um_devvp = devvp;
OpenPOWER on IntegriCloud