Make it impossible to clear the MNT_NFS4ACLS flag on ZFS filesystem
by using "mount -uw". Reviewed by: pjd MFC after: 2 weeks
This commit is contained in:
parent
2fee45fd74
commit
dc7a965673
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=218386
@ -1021,7 +1021,7 @@ zfs_domount(vfs_t *vfsp, char *osname)
|
||||
zfsvfs->z_vfs->mnt_stat.f_iosize = recordsize;
|
||||
|
||||
vfsp->vfs_data = zfsvfs;
|
||||
vfsp->mnt_flag |= MNT_LOCAL | MNT_NFS4ACLS;
|
||||
vfsp->mnt_flag |= MNT_LOCAL;
|
||||
vfsp->mnt_kern_flag |= MNTK_MPSAFE;
|
||||
vfsp->mnt_kern_flag |= MNTK_LOOKUP_SHARED;
|
||||
vfsp->mnt_kern_flag |= MNTK_SHARED_WRITES;
|
||||
@ -1203,6 +1203,8 @@ zfs_mount(vfs_t *vfsp)
|
||||
goto out;
|
||||
}
|
||||
|
||||
vfsp->vfs_flag |= MNT_NFS4ACLS;
|
||||
|
||||
/*
|
||||
* When doing a remount, we simply refresh our temporary properties
|
||||
* according to those options set in the current VFS options.
|
||||
|
Loading…
Reference in New Issue
Block a user