btrfs: print-tree: parent bytenr must be aligned to sector size
stable inclusion from stable-v5.10.180 commit 829c20fd7a7b2fe440a1a5261b6f366e7398ba92 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I8FC2O Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=829c20fd7a7b2fe440a1a5261b6f366e7398ba92 -------------------------------- commit c87f318e upstream. Check nodesize to sectorsize in alignment check in print_extent_item. The comment states that and this is correct, similar check is done elsewhere in the functions. Found by Linux Verification Center (linuxtesting.org) with SVACE. Fixes: ea57788e ("btrfs: require only sector size alignment for parent eb bytenr") CC: stable@vger.kernel.org # 4.14+ Reviewed-by:Qu Wenruo <wqu@suse.com> Signed-off-by:
Anastasia Belova <abelova@astralinux.ru> Reviewed-by:
David Sterba <dsterba@suse.com> Signed-off-by:
David Sterba <dsterba@suse.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by:
sanglipeng <sanglipeng1@jd.com>
Loading
Please sign in to comment