diff options
author | Kevin Lo <kevlo@FreeBSD.org> | 2012-09-12 03:42:52 +0000 |
---|---|---|
committer | Kevin Lo <kevlo@FreeBSD.org> | 2012-09-12 03:42:52 +0000 |
commit | 95c79b6082480dea6a4c7a8390cadd3919ab4718 (patch) | |
tree | 232f73aa2bbf92b8bccf805467e7eef028c26be5 /sys/gnu/fs/xfs/FreeBSD | |
parent | c25372b32022bb7fcd7c0791068b57fbb1d0815f (diff) | |
download | src-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')
-rw-r--r-- | sys/gnu/fs/xfs/FreeBSD/xfs_mountops.c | 2 |
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 |