summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/ufs/ffs/ffs_vfsops.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/ufs/ffs/ffs_vfsops.c b/sys/ufs/ffs/ffs_vfsops.c
index 9ca5ccd..50791c2 100644
--- a/sys/ufs/ffs/ffs_vfsops.c
+++ b/sys/ufs/ffs/ffs_vfsops.c
@@ -280,6 +280,11 @@ ffs_mount(struct mount *mp, struct thread *td)
if (mp->mnt_flag & MNT_SOFTDEP)
mp->mnt_flag &= ~MNT_ASYNC;
/*
+ * Keep MNT_ACLS flag if it is stored in superblock.
+ */
+ if ((fs->fs_flags & FS_ACLS) != 0)
+ mp->mnt_flag |= MNT_ACLS;
+ /*
* If not updating name, process export requests.
*/
error = vfs_copyopt(mp->mnt_optnew, "export", &export, sizeof export);
OpenPOWER on IntegriCloud