aboutsummaryrefslogtreecommitdiff
path: root/sys/gnu/fs/xfs/FreeBSD/xfs_mountops.c
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2012-09-12 03:42:52 +0000
committerKevin Lo <kevlo@FreeBSD.org>2012-09-12 03:42:52 +0000
commit95c79b6082480dea6a4c7a8390cadd3919ab4718 (patch)
tree232f73aa2bbf92b8bccf805467e7eef028c26be5 /sys/gnu/fs/xfs/FreeBSD/xfs_mountops.c
parentc25372b32022bb7fcd7c0791068b57fbb1d0815f (diff)
downloadsrc-95c79b6082480dea6a4c7a8390cadd3919ab4718.tar.gz
src-95c79b6082480dea6a4c7a8390cadd3919ab4718.zip
Add VFCF_READONLY flag that indicates ntfs and xfs file systems are
only supported as read-only.
Notes
Notes: svn path=/head/; revision=240379
Diffstat (limited to 'sys/gnu/fs/xfs/FreeBSD/xfs_mountops.c')
-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 413a524971fc..8597c6c28a1f 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