Add VFCF_READONLY flag that indicates ntfs and xfs file systems are

only supported as read-only.
This commit is contained in:
kevlo 2012-09-12 03:42:52 +00:00
parent 5af0a918ec
commit 422999da8c
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