Add VFCF_READONLY flag that indicates ntfs and xfs file systems are
only supported as read-only.
This commit is contained in:
parent
c25372b320
commit
95c79b6082
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=240379
@ -776,5 +776,5 @@ static struct vfsops ntfs_vfsops = {
|
|||||||
.vfs_unmount = ntfs_unmount,
|
.vfs_unmount = ntfs_unmount,
|
||||||
.vfs_vget = ntfs_vget,
|
.vfs_vget = ntfs_vget,
|
||||||
};
|
};
|
||||||
VFS_SET(ntfs_vfsops, ntfs, 0);
|
VFS_SET(ntfs_vfsops, ntfs, VFCF_READONLY);
|
||||||
MODULE_VERSION(ntfs, 1);
|
MODULE_VERSION(ntfs, 1);
|
||||||
|
@ -422,7 +422,7 @@ static struct vfsops xfs_fsops = {
|
|||||||
.vfs_extattrctl = _xfs_extattrctl,
|
.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
|
* Copy GEOM VFS functions here to provide a conveniet place to
|
||||||
|
Loading…
Reference in New Issue
Block a user