svn commit: r234139 - head/sys/fs/ext2fs
Jaakko Heinonen
jh at FreeBSD.org
Wed Apr 11 15:48:51 UTC 2012
Author: jh
Date: Wed Apr 11 15:48:50 2012
New Revision: 234139
URL: http://svn.freebsd.org/changeset/base/234139
Log:
Restore the blank line incorrectly removed in r234104.
Pointed out by: bde
Modified:
head/sys/fs/ext2fs/ext2_vnops.c
Modified: head/sys/fs/ext2fs/ext2_vnops.c
==============================================================================
--- head/sys/fs/ext2fs/ext2_vnops.c Wed Apr 11 15:42:02 2012 (r234138)
+++ head/sys/fs/ext2fs/ext2_vnops.c Wed Apr 11 15:48:50 2012 (r234139)
@@ -407,6 +407,7 @@ ext2_setattr(ap)
/* Disallow flags not supported by ext2fs. */
if(vap->va_flags & ~(SF_APPEND | SF_IMMUTABLE | UF_NODUMP))
return (EOPNOTSUPP);
+
if (vp->v_mount->mnt_flag & MNT_RDONLY)
return (EROFS);
/*
More information about the svn-src-all
mailing list