Re: [PATCH] ext4: fix fast commit alignment issues
From: "Theodore Ts'o" <tytso@mit.edu>
Date: 2021-06-03 01:59:22
From: "Theodore Ts'o" <tytso@mit.edu>
Date: 2021-06-03 01:59:22
On Wed, May 19, 2021 at 02:59:20PM -0700, Harshad Shirwadkar wrote:
From: Harshad Shirwadkar <redacted> Fast commit recovery data on disk may not be aligned. So, when the recovery code reads it, this patch makes sure that fast commit info found on-disk is first memcpy-ed into an aligned variable before accessing it. As a consequence of it, we also remove some macros that could resulted in unaligned accesses. Signed-off-by: Harshad Shirwadkar <redacted>
Applied, thanks. - Ted