svn commit: r320079 - head/sys/fs/ext2fs

Pedro F. Giffuni pfg at FreeBSD.org
Sun Jun 18 20:55:47 UTC 2017


Author: pfg
Date: Sun Jun 18 20:55:46 2017
New Revision: 320079
URL: https://svnweb.freebsd.org/changeset/base/320079

Log:
  ext2fs: Enable RO huge_file feature support.
  
  We can have support for reading ext4 "huge" files but we can't write
  (anything) on ext4. and some filesystem. Formally enable the feature so
  that we can mount such filesystems.
  
  Submitted by:	Fedor Uponov
  Differential Revision:	https://reviews.freebsd.org/D11209

Modified:
  head/sys/fs/ext2fs/ext2fs.h

Modified: head/sys/fs/ext2fs/ext2fs.h
==============================================================================
--- head/sys/fs/ext2fs/ext2fs.h	Sun Jun 18 19:22:05 2017	(r320078)
+++ head/sys/fs/ext2fs/ext2fs.h	Sun Jun 18 20:55:46 2017	(r320079)
@@ -259,6 +259,7 @@ struct csum {
 #define	EXT2F_COMPAT_SUPP		EXT2F_COMPAT_DIRHASHINDEX
 #define	EXT2F_ROCOMPAT_SUPP		(EXT2F_ROCOMPAT_SPARSESUPER | \
 					 EXT2F_ROCOMPAT_LARGEFILE | \
+					 EXT2F_ROCOMPAT_HUGE_FILE | \
 					 EXT2F_ROCOMPAT_EXTRA_ISIZE)
 #define	EXT2F_INCOMPAT_SUPP		EXT2F_INCOMPAT_FTYPE
 #define	EXT4F_RO_INCOMPAT_SUPP		(EXT2F_INCOMPAT_EXTENTS | \


More information about the svn-src-all mailing list