1*6a54128fSAndroid Build Coastguard WorkerE2fsprogs 1.45.7 (January 28, 2021) 2*6a54128fSAndroid Build Coastguard Worker================================== 3*6a54128fSAndroid Build Coastguard Worker 4*6a54128fSAndroid Build Coastguard WorkerUpdates/Fixes since v1.45.6: 5*6a54128fSAndroid Build Coastguard Worker 6*6a54128fSAndroid Build Coastguard WorkerUI and Features 7*6a54128fSAndroid Build Coastguard Worker--------------- 8*6a54128fSAndroid Build Coastguard Worker 9*6a54128fSAndroid Build Coastguard WorkerMke2fs will now warn when creating a file system on a DAX-capable device 10*6a54128fSAndroid Build Coastguard Workerand the block size is incompatible with DAX. 11*6a54128fSAndroid Build Coastguard Worker 12*6a54128fSAndroid Build Coastguard WorkerThe chattr and lsattr programs now support using the 'x' attribute to 13*6a54128fSAndroid Build Coastguard Workerset/get dax support on a particular file. 14*6a54128fSAndroid Build Coastguard Worker 15*6a54128fSAndroid Build Coastguard WorkerE2fsprogs now supports the gnu.* extended attribute namespace, which 16*6a54128fSAndroid Build Coastguard Workerallows mke2fs -d to import the gnu.translator extended attributes. 17*6a54128fSAndroid Build Coastguard Worker 18*6a54128fSAndroid Build Coastguard WorkerAdd support for the simultaneous enablement of the casefold and 19*6a54128fSAndroid Build Coastguard Workerencryption features, which ext4 supports starting with the v5.5 Linux 20*6a54128fSAndroid Build Coastguard Workerkernel. 21*6a54128fSAndroid Build Coastguard Worker 22*6a54128fSAndroid Build Coastguard Worker 23*6a54128fSAndroid Build Coastguard WorkerFixes 24*6a54128fSAndroid Build Coastguard Worker----- 25*6a54128fSAndroid Build Coastguard Worker 26*6a54128fSAndroid Build Coastguard WorkerWhen trying to run debugfs on a mounted file system, it's possible for 27*6a54128fSAndroid Build Coastguard Workerthe superblock to be read in an inconsistent state; debugfs will now 28*6a54128fSAndroid Build Coastguard Workerretry the open in the hopes that it will succeed. 29*6a54128fSAndroid Build Coastguard Worker 30*6a54128fSAndroid Build Coastguard WorkerFix an off-by-one error when validating the depth of an htree which 31*6a54128fSAndroid Build Coastguard Workercaused e2fsck to potentially fail to notice an invalid htree. 32*6a54128fSAndroid Build Coastguard Worker 33*6a54128fSAndroid Build Coastguard WorkerFix potential buffer overrun in e2fsck when scanning directory blocks in 34*6a54128fSAndroid Build Coastguard Workerpass 2. (Addresses Google Bug: #158564737) 35*6a54128fSAndroid Build Coastguard Worker 36*6a54128fSAndroid Build Coastguard WorkerFix tune2fs so that it unlocks the MMP block if it can't perform the 37*6a54128fSAndroid Build Coastguard Workerrequested operation. 38*6a54128fSAndroid Build Coastguard Worker 39*6a54128fSAndroid Build Coastguard WorkerFix mke2fs so it can import the contents of a directory using the -d 40*6a54128fSAndroid Build Coastguard Workeroption when it has inode numbers that are greater than 2**32. Also fix 41*6a54128fSAndroid Build Coastguard Workeran omission were the extended attributes on the top-level directory was 42*6a54128fSAndroid Build Coastguard Workernot getting copied to the root directory. 43*6a54128fSAndroid Build Coastguard Worker 44*6a54128fSAndroid Build Coastguard WorkerFix e4crypt so that the add_key operation uses the explicitly provided 45*6a54128fSAndroid Build Coastguard Workersalt if it is provided. 46*6a54128fSAndroid Build Coastguard Worker 47*6a54128fSAndroid Build Coastguard WorkerFix resize2fs to prevent it from overflowing the block group descriptors 48*6a54128fSAndroid Build Coastguard Workerfrom overflowing the first block group. (This can only happen when the 49*6a54128fSAndroid Build Coastguard Workerblock size is 1k and the file system is very large.) 50*6a54128fSAndroid Build Coastguard Worker 51*6a54128fSAndroid Build Coastguard WorkerFix debugfs's set_super_value command so it can set 64-bit integer 52*6a54128fSAndroid Build Coastguard Workerfields, such as s_kbytes_written. 53*6a54128fSAndroid Build Coastguard Worker 54*6a54128fSAndroid Build Coastguard WorkerFix filefrag so that it won't crash if the kernel returns zero for 55*6a54128fSAndroid Build Coastguard Workerstatfs(2)'s device id or if it returns a blocksize of zero the device's 56*6a54128fSAndroid Build Coastguard Workerblocksize. This only happens with kernel bugs, but filefrag shouldn't 57*6a54128fSAndroid Build Coastguard Workercrash when the kernel returns an unexpected value. 58*6a54128fSAndroid Build Coastguard Worker 59*6a54128fSAndroid Build Coastguard WorkerFix a few bad error code returns in the unix and sparse I/O managers. 60*6a54128fSAndroid Build Coastguard Worker(These errors rarely happen in real life; these were find thanks to a 61*6a54128fSAndroid Build Coastguard Workerstatic code checker.) 62*6a54128fSAndroid Build Coastguard Worker 63*6a54128fSAndroid Build Coastguard WorkerE2fsck will no longer try to fix duplicate file names in an encrypted 64*6a54128fSAndroid Build Coastguard Workerdirectory by mutating the file name since that will cause the decrypted 65*6a54128fSAndroid Build Coastguard Workerfile name to be gibberish, or to contain invalid characters. 66*6a54128fSAndroid Build Coastguard Worker 67*6a54128fSAndroid Build Coastguard WorkerUpdated and clarified various man pages. 68*6a54128fSAndroid Build Coastguard Worker 69*6a54128fSAndroid Build Coastguard Worker 70*6a54128fSAndroid Build Coastguard WorkerPerformance, Internal Implementation, Development Support etc. 71*6a54128fSAndroid Build Coastguard Worker-------------------------------------------------------------- 72*6a54128fSAndroid Build Coastguard Worker 73*6a54128fSAndroid Build Coastguard WorkerThe misc/mke2fs.conf.in script now properly escaping of double quotes 74*6a54128fSAndroid Build Coastguard Workerwhen incorporating the mke2fs.conf into the default_profile.c file. The 75*6a54128fSAndroid Build Coastguard Workerupstream version of the mke2fs.conf.in file doesn't have any double 76*6a54128fSAndroid Build Coastguard Workerquotes, but this allows a customized distribution of e2fsprogs to have 77*6a54128fSAndroid Build Coastguard Workerdouble quotes in its default mke2fs profile. 78*6a54128fSAndroid Build Coastguard Worker 79*6a54128fSAndroid Build Coastguard WorkerSpeeded up mkfs.ext3 by batching calls to ext2fs_zero_blocks when 80*6a54128fSAndroid Build Coastguard Workerzeroing the blocks for an indirect-block mapped journal inode. 81*6a54128fSAndroid Build Coastguard Worker 82*6a54128fSAndroid Build Coastguard WorkerFixed portability problem for implementations of grep which don't 83*6a54128fSAndroid Build Coastguard Workersupport extended regexp's without the -E option. 84*6a54128fSAndroid Build Coastguard Worker 85*6a54128fSAndroid Build Coastguard WorkerFix various compiler and Coverity warnings. 86*6a54128fSAndroid Build Coastguard Worker 87*6a54128fSAndroid Build Coastguard WorkerFixed portability issue which caused a build failure when mkdir -p is 88*6a54128fSAndroid Build Coastguard Workernot thread safe; in that case, the Makefiles would not find the 89*6a54128fSAndroid Build Coastguard Workerinstall_sh replacement script. 90*6a54128fSAndroid Build Coastguard Worker 91*6a54128fSAndroid Build Coastguard WorkerFixed various Debian packaging issues. 92*6a54128fSAndroid Build Coastguard Worker 93*6a54128fSAndroid Build Coastguard WorkerSynchronized changes from Android's AOSP e2fsprogs tree. 94*6a54128fSAndroid Build Coastguard Worker 95*6a54128fSAndroid Build Coastguard WorkerUpdate the Dutch, Malay, and Serbian translations from the translation 96*6a54128fSAndroid Build Coastguard Workerproject. 97