summaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2021-09-27 10:21:59 +0300
committerDavid Sterba <dsterba@suse.com>2021-10-26 20:08:04 +0300
commit4c162778d63eb8822492f715dbe06970d242b4fd (patch)
tree2edb2d1741531a2a6b7d106ce7f7cc7d912c9ee2 /scripts/generate_rust_analyzer.py
parent2bd0fc9349b63653216d71671c5ea84d11a4f348 (diff)
downloadlinux-4c162778d63eb8822492f715dbe06970d242b4fd.tar.xz
btrfs: subpage: make compress_file_range() compatible
In function compress_file_range(), when the compression is finished, the function just rounds up @total_in to PAGE_SIZE. This is fine for regular sectorsize == PAGE_SIZE case, but not for subpage. Just change the ALIGN(, PAGE_SIZE) to round_up(, sectorsize) so that both regular sectorsize and subpage sectorsize will be happy. Signed-off-by: Qu Wenruo <wqu@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions