Add VFCF_READONLY flag that indicates ntfs and xfs file systems are
only supported as read-only.
This commit is contained in:
parent
5af0a918ec
commit
422999da8c
@ -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);
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user