Home
last modified time | relevance | path

Searched hist:a7ba36bc94f20b6c77f16364b9a23f582ea8faac (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/fs/ext4/
H A Dfast_commit.hdiff a7ba36bc94f20b6c77f16364b9a23f582ea8faac Wed May 19 16:59:20 CDT 2021 Harshad Shirwadkar <harshadshirwadkar@gmail.com> 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>
H A Dfast_commit.cdiff a7ba36bc94f20b6c77f16364b9a23f582ea8faac Wed May 19 16:59:20 CDT 2021 Harshad Shirwadkar <harshadshirwadkar@gmail.com> 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>