Add VFCF_READONLY flag that indicates ntfs and xfs file systems are

only supported as read-only.
This commit is contained in:
Kevin Lo 2012-09-12 03:42:52 +00:00
parent c25372b320
commit 95c79b6082
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=240379
2 changed files with 2 additions and 2 deletions

View File

@ -776,5 +776,5 @@ static struct vfsops ntfs_vfsops = {
.vfs_unmount = ntfs_unmount,
.vfs_vget = ntfs_vget,
};
VFS_SET(ntfs_vfsops, ntfs, 0);
VFS_SET(ntfs_vfsops, ntfs, VFCF_READONLY);
MODULE_VERSION(ntfs, 1);

View File

@ -422,7 +422,7 @@ static struct vfsops xfs_fsops = {
.vfs_extattrctl = _xfs_extattrctl,
};
VFS_SET(xfs_fsops, xfs, 0);
VFS_SET(xfs_fsops, xfs, VFCF_READONLY);
/*
* Copy GEOM VFS functions here to provide a conveniet place to