Deleted Added
full compact
40c40
< * $FreeBSD: head/sys/gnu/fs/ext2fs/ext2_inode.c 125781 2004-02-13 17:49:03Z bde $
---
> * $FreeBSD: head/sys/gnu/fs/ext2fs/ext2_inode.c 125962 2004-02-18 14:08:25Z tjr $
166a167,176
> /*
> * XXX Refuse to extend files past 2GB on old format
> * filesystems or ones that don't already have the
> * large file flag set in the superblock.
> */
> if (osize < 0x8000000 && length >= 0x80000000 &&
> (oip->i_e2fs->s_es->s_rev_level == EXT2_GOOD_OLD_REV ||
> (oip->i_e2fs->s_es->s_feature_ro_compat &
> EXT2_FEATURE_RO_COMPAT_LARGE_FILE) == 0))
> return (EFBIG);