summaryrefslogtreecommitdiffstats
path: root/fs/ext4/super.c
diff options
context:
space:
mode:
authorHarshad Shirwadkar <harshadshirwadkar@gmail.com>2021-05-19 14:59:20 -0700
committerTheodore Ts'o <tytso@mit.edu>2021-06-06 10:10:23 -0400
commita7ba36bc94f20b6c77f16364b9a23f582ea8faac (patch)
tree38752a5c54881984682914365bdd98299cb7d950 /fs/ext4/super.c
parent082cd4ec240b8734a82a89ffb890216ac98fec68 (diff)
downloadlinux-a7ba36bc94f20b6c77f16364b9a23f582ea8faac.tar.bz2
ext4: fix fast commit alignment issues
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. Cc: stable@kernel.org Fixes: 8016e29f4362 ("ext4: fast commit recovery path") Signed-off-by: Harshad Shirwadkar <harshadshirwadkar@gmail.com> Link: https://lore.kernel.org/r/20210519215920.2037527-1-harshads@google.com Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/super.c')
0 files changed, 0 insertions, 0 deletions