summaryrefslogtreecommitdiff
path: root/sys/ufs/ext2fs/ext2fs.h
diff options
context:
space:
mode:
authorNiall O'Higgins <niallo@cvs.openbsd.org>2005-04-30 13:58:56 +0000
committerNiall O'Higgins <niallo@cvs.openbsd.org>2005-04-30 13:58:56 +0000
commit514bc6a5729982dd3c7efdc28baecc1f45061898 (patch)
treee0902c81534b844c63dab4530603b0fa066babdc /sys/ufs/ext2fs/ext2fs.h
parente723898372517d7a195b4eb18912751f9316ae2e (diff)
Add support for large files (> 4GB).
Automatically converts old filesystems to use this if they are already at revision 1 (like Linux). Revision 0 filesystems don't get converted (unlike Linux). From NetBSD
Diffstat (limited to 'sys/ufs/ext2fs/ext2fs.h')
-rw-r--r--sys/ufs/ext2fs/ext2fs.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/ufs/ext2fs/ext2fs.h b/sys/ufs/ext2fs/ext2fs.h
index 62c44cf5eeb..14d5aa57ad8 100644
--- a/sys/ufs/ext2fs/ext2fs.h
+++ b/sys/ufs/ext2fs/ext2fs.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ext2fs.h,v 1.9 2003/06/02 23:28:22 millert Exp $ */
+/* $OpenBSD: ext2fs.h,v 1.10 2005/04/30 13:58:55 niallo Exp $ */
/* $NetBSD: ext2fs.h,v 1.10 2000/01/28 16:00:23 bouyer Exp $ */
/*
@@ -182,7 +182,8 @@ struct m_ext2fs {
/* features supported in this implementation */
#define EXT2F_COMPAT_SUPP 0x0000
-#define EXT2F_ROCOMPAT_SUPP EXT2F_ROCOMPAT_SPARSESUPER
+#define EXT2F_ROCOMPAT_SUPP (EXT2F_ROCOMPAT_SPARSESUPER \
+ | EXT2F_ROCOMPAT_LARGEFILE)
#define EXT2F_INCOMPAT_SUPP EXT2F_INCOMPAT_FTYPE
/*