Skip to content
Commit 84fcc2d2 authored by Geng, Jichao's avatar Geng, Jichao Committed by Ilya Dryomov
Browse files

ceph: fix get_oldest_context()



For no snapshot case, we should use ci->truncate_{seq,size}.

Fixes: 5f743e45 ("ceph: record truncate size/seq for snap data writeback")
Signed-off-by: default avatarGeng, Jichao <geng.jichao@h3c.com>
Signed-off-by: default avatarYan, Zheng <zyan@redhat.com>
parent cc8e8342
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment