aboutsummaryrefslogtreecommitdiff
path: root/sys/fs/ext2fs
diff options
context:
space:
mode:
authorPedro F. Giffuni <pfg@FreeBSD.org>2017-06-18 20:55:46 +0000
committerPedro F. Giffuni <pfg@FreeBSD.org>2017-06-18 20:55:46 +0000
commit5342d6e0d2161225738fd037e7b20abd805ac3a3 (patch)
tree40c2cc3e940d797f56def1a21baee2e3aa1fa907 /sys/fs/ext2fs
parent8504aa98527b7f2078980ec5b650a06063bf079a (diff)
downloadsrc-5342d6e0d2161225738fd037e7b20abd805ac3a3.tar.gz
src-5342d6e0d2161225738fd037e7b20abd805ac3a3.zip
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
Notes
Notes: svn path=/head/; revision=320079
Diffstat (limited to 'sys/fs/ext2fs')
-rw-r--r--sys/fs/ext2fs/ext2fs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/fs/ext2fs/ext2fs.h b/sys/fs/ext2fs/ext2fs.h
index 725e4afe65be..b499388af0fe 100644
--- a/sys/fs/ext2fs/ext2fs.h
+++ b/sys/fs/ext2fs/ext2fs.h
@@ -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 | \