summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2025-03-12 13:47:11 +0300
committerIlya Dryomov <idryomov@gmail.com>2025-04-03 22:35:32 +0300
commitf452a2204614fc10e2c3b85904c4bd300c2789dc (patch)
treeda0905f850b5fcba20d330fdd82ee5b62ff3c0a4 /tools/perf/scripts/python/mem-phys-addr.py
parentaed06d36ba4e7fe90f2d4a85835cee7c80ea72a7 (diff)
downloadlinux-f452a2204614fc10e2c3b85904c4bd300c2789dc.tar.xz
ceph: Fix incorrect flush end position calculation
In ceph, in fill_fscrypt_truncate(), the end flush position is calculated by: loff_t lend = orig_pos + CEPH_FSCRYPT_BLOCK_SHIFT - 1; but that's using the block shift not the block size. Fix this to use the block size instead. Fixes: 5c64737d2536 ("ceph: add truncate size handling support for fscrypt") Signed-off-by: David Howells <dhowells@redhat.com> Reviewed-by: Viacheslav Dubeyko <Slava.Dubeyko@ibm.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions