diff options
| author | Harshad Shirwadkar <[email protected]> | 2021-05-19 21:59:20 +0000 |
|---|---|---|
| committer | Theodore Ts'o <[email protected]> | 2021-06-06 14:10:23 +0000 |
| commit | a7ba36bc94f20b6c77f16364b9a23f582ea8faac (patch) | |
| tree | 38752a5c54881984682914365bdd98299cb7d950 /net/switchdev/switchdev.c | |
| parent | ext4: fix bug on in ext4_es_cache_extent as ext4_split_extent_at failed (diff) | |
| download | kernel-a7ba36bc94f20b6c77f16364b9a23f582ea8faac.tar.gz kernel-a7ba36bc94f20b6c77f16364b9a23f582ea8faac.zip | |
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: [email protected]
Fixes: 8016e29f4362 ("ext4: fast commit recovery path")
Signed-off-by: Harshad Shirwadkar <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
