diff options
author | jh <jh@FreeBSD.org> | 2012-04-11 15:48:50 +0000 |
---|---|---|
committer | jh <jh@FreeBSD.org> | 2012-04-11 15:48:50 +0000 |
commit | cfeeeaffc798c6ab2912039bb5dc45a8191c628e (patch) | |
tree | 40389317714fbb8a0ba36890917ae9b2c7a95714 /sys/fs | |
parent | b6c463eabcc7bf2733c840f14981f65008518526 (diff) | |
download | FreeBSD-src-cfeeeaffc798c6ab2912039bb5dc45a8191c628e.zip FreeBSD-src-cfeeeaffc798c6ab2912039bb5dc45a8191c628e.tar.gz |
Restore the blank line incorrectly removed in r234104.
Pointed out by: bde
Diffstat (limited to 'sys/fs')
-rw-r--r-- | sys/fs/ext2fs/ext2_vnops.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/fs/ext2fs/ext2_vnops.c b/sys/fs/ext2fs/ext2_vnops.c index 85552ba..d8270de 100644 --- a/sys/fs/ext2fs/ext2_vnops.c +++ b/sys/fs/ext2fs/ext2_vnops.c @@ -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); /* |