kernel: ext4: fix check to prevent initializing reserved inodes
authorMatthias Schiffer <mschiffer@universe-factory.net>
Thu, 9 Aug 2018 20:45:26 +0000 (22:45 +0200)
committerMatthias Schiffer <mschiffer@universe-factory.net>
Thu, 9 Aug 2018 21:17:09 +0000 (23:17 +0200)
commit0a2c984222d03d940c52c3675849dd6398b34e64
tree1750bd4271591755e313a89ae112dd16c56796fd
parent91d209362b97fc1ff2ab931fe854c99f5a5aae73
kernel: ext4: fix check to prevent initializing reserved inodes

The broken check would detect a newly generated root filesystem as corrupt
under certain circumstances, in some cases actually currupting the it while
trying to handle the error condition.

This is a regression introduced in kernel 4.4.140. The 4.14.y stable series
has already received this fix, while it is still pending for 4.4.y and
4.9.y.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
target/linux/generic/patches-4.4/005-ext4-fix-check-to-prevent-initializing-reserved-inod.patch [new file with mode: 0644]