diff options
author | pfg <pfg@FreeBSD.org> | 2017-07-09 15:09:15 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2017-07-09 15:09:15 +0000 |
commit | 37b4d7cbce67655dd97b723a78c4f9bf1fd9ad03 (patch) | |
tree | 780af3f98dbbad82617dd944f2c9eb3c5d35fe91 | |
parent | ceb39721c36a676def22bada95cf566c60339cc8 (diff) | |
download | FreeBSD-src-37b4d7cbce67655dd97b723a78c4f9bf1fd9ad03.zip FreeBSD-src-37b4d7cbce67655dd97b723a78c4f9bf1fd9ad03.tar.gz |
MFC r320079:
ext2fs: Enable RO huge_file feature support.
We 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 Uporov
-rw-r--r-- | sys/fs/ext2fs/ext2fs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/fs/ext2fs/ext2fs.h b/sys/fs/ext2fs/ext2fs.h index 8201b54..d139f3f 100644 --- a/sys/fs/ext2fs/ext2fs.h +++ b/sys/fs/ext2fs/ext2fs.h @@ -258,6 +258,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 | \ |