]> git.baikalelectronics.ru Git - kernel.git/commit
ceph: fix get_oldest_context()
authorGeng, Jichao <geng.jichao@h3c.com>
Thu, 5 Jan 2017 08:50:39 +0000 (16:50 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 12 Jan 2017 18:31:01 +0000 (19:31 +0100)
commit662dc983f96dc0da0f04fced3dea2273902ef74f
tree6fb8f91a59da31402086e60e89554a2de820e702
parentb0ab82bbe37c1df86e45ba37d80c2fe258ebed66
ceph: fix get_oldest_context()

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

Fixes: f8a5c5ed91ea ("ceph: record truncate size/seq for snap data writeback")
Signed-off-by: Geng, Jichao <geng.jichao@h3c.com>
Signed-off-by: Yan, Zheng <zyan@redhat.com>
fs/ceph/addr.c