[PATCH 6.12 050/280] ceph: Fix incorrect flush end position calculation