diff options
author | Anastasia Belova <abelova@astralinux.ru> | 2023-04-26 14:53:23 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2023-05-09 22:07:40 +0200 |
commit | c87f318e6f47696b4040b58f460d5c17ea0280e6 (patch) | |
tree | c1fc071519fe6e13a16f382249918147d3ac671b /fs/nfs/filelayout | |
parent | d246331b78cbef86237f9c22389205bc9b4e1cc1 (diff) | |
download | linux-stable-c87f318e6f47696b4040b58f460d5c17ea0280e6.tar.gz linux-stable-c87f318e6f47696b4040b58f460d5c17ea0280e6.tar.bz2 linux-stable-c87f318e6f47696b4040b58f460d5c17ea0280e6.zip |
btrfs: print-tree: parent bytenr must be aligned to sector size
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: ea57788eb76d ("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>
Diffstat (limited to 'fs/nfs/filelayout')
0 files changed, 0 insertions, 0 deletions