summaryrefslogtreecommitdiffstats
path: root/sys/gnu
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2012-09-12 03:42:52 +0000
committerkevlo <kevlo@FreeBSD.org>2012-09-12 03:42:52 +0000
commit422999da8c0d6025a0c843013ccb32b88e792c2d (patch)
tree232f73aa2bbf92b8bccf805467e7eef028c26be5 /sys/gnu
parent5af0a918ec72350cffc287362eeae130f300f87a (diff)
downloadFreeBSD-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/gnu')
-rw-r--r--sys/gnu/fs/xfs/FreeBSD/xfs_mountops.c2
1 files changed, 1 insertions, 1 deletions
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
OpenPOWER on IntegriCloud