[PATCH 6.14 033/311] ceph: Fix incorrect flush end position calculation