On Thu, 2017-11-16 at 12:29 +0100, Greg Kroah-Hartman wrote:
On Wed, Nov 15, 2017 at 09:10:46PM +0000, Ben Hutchings wrote:
Please apply the attached backported patches to 4.4-stable. The upstream commits are:
06bd3c36a733 ext4: fix data exposure after a crash
This patch did not apply, and when I worked at it by hand to apply, it then broke the build with: fs/ext4/inode.c: In function ‘ext4_map_blocks’: fs/ext4/inode.c:669:17: error: ‘EXT4_GET_BLOCKS_ZERO’ undeclared (first use in this function); did you mean ‘EXT4_GET_BLOCKS_PRE_IO’? !(flags & EXT4_GET_BLOCKS_ZERO) && ^~~~~~~~~~~~~~~~~~~~
I attached a mailbox with backported versions of all of these. The inline list was just for reference.
As Ted didn't provide this on the list of ext4 patches to backport to 4.4 in the past, I'm a bit hesitant to take this now. Are you sure it is needed?
The Fixes field refers to a commit that went into 3.8, so if that's correct then yes this is needed.
Ben.