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 | \
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to