Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Sep 2012 03:42:52 +0000 (UTC)
From:      Kevin Lo <kevlo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r240379 - in head/sys: fs/ntfs gnu/fs/xfs/FreeBSD
Message-ID:  <201209120342.q8C3gqBQ087235@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kevlo
Date: Wed Sep 12 03:42:52 2012
New Revision: 240379
URL: http://svn.freebsd.org/changeset/base/240379

Log:
  Add VFCF_READONLY flag that indicates ntfs and xfs file systems are
  only supported as read-only.

Modified:
  head/sys/fs/ntfs/ntfs_vfsops.c
  head/sys/gnu/fs/xfs/FreeBSD/xfs_mountops.c

Modified: head/sys/fs/ntfs/ntfs_vfsops.c
==============================================================================
--- head/sys/fs/ntfs/ntfs_vfsops.c	Wed Sep 12 03:39:32 2012	(r240378)
+++ head/sys/fs/ntfs/ntfs_vfsops.c	Wed Sep 12 03:42:52 2012	(r240379)
@@ -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);

Modified: head/sys/gnu/fs/xfs/FreeBSD/xfs_mountops.c
==============================================================================
--- head/sys/gnu/fs/xfs/FreeBSD/xfs_mountops.c	Wed Sep 12 03:39:32 2012	(r240378)
+++ head/sys/gnu/fs/xfs/FreeBSD/xfs_mountops.c	Wed Sep 12 03:42:52 2012	(r240379)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209120342.q8C3gqBQ087235>