diff options
author | kevlo <kevlo@FreeBSD.org> | 2012-09-12 03:42:52 +0000 |
---|---|---|
committer | kevlo <kevlo@FreeBSD.org> | 2012-09-12 03:42:52 +0000 |
commit | 422999da8c0d6025a0c843013ccb32b88e792c2d (patch) | |
tree | 232f73aa2bbf92b8bccf805467e7eef028c26be5 /sys | |
parent | 5af0a918ec72350cffc287362eeae130f300f87a (diff) | |
download | FreeBSD-src-422999da8c0d6025a0c843013ccb32b88e792c2d.zip FreeBSD-src-422999da8c0d6025a0c843013ccb32b88e792c2d.tar.gz |
Add VFCF_READONLY flag that indicates ntfs and xfs file systems are
only supported as read-only.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/fs/ntfs/ntfs_vfsops.c | 2 | ||||
-rw-r--r-- | sys/gnu/fs/xfs/FreeBSD/xfs_mountops.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/ntfs/ntfs_vfsops.c b/sys/fs/ntfs/ntfs_vfsops.c index d664f2c..81822fa 100644 --- a/sys/fs/ntfs/ntfs_vfsops.c +++ b/sys/fs/ntfs/ntfs_vfsops.c @@ -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); diff --git a/sys/gnu/fs/xfs/FreeBSD/xfs_mountops.c b/sys/gnu/fs/xfs/FreeBSD/xfs_mountops.c index 413a524..8597c6c 100644 --- a/sys/gnu/fs/xfs/FreeBSD/xfs_mountops.c +++ b/sys/gnu/fs/xfs/FreeBSD/xfs_mountops.c @@ -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 |