Restore the blank line incorrectly removed in r234104.

Pointed out by:	bde
This commit is contained in:
Jaakko Heinonen 2012-04-11 15:48:50 +00:00
parent 0fa391997a
commit e6b8bdf252

View File

@ -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);
/*