From dc24de82d61b1edc3d195badd178e7875ba9398f Mon Sep 17 00:00:00 2001 From: "Yan, Zheng" Date: Thu, 17 Nov 2016 19:55:30 +0800 Subject: [PATCH] ceph: properly set issue_seq for cap release Signed-off-by: Yan, Zheng --- fs/ceph/caps.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/ceph/caps.c b/fs/ceph/caps.c index b54af16..baea866 100644 --- a/fs/ceph/caps.c +++ b/fs/ceph/caps.c @@ -3656,6 +3656,7 @@ void ceph_handle_caps(struct ceph_mds_session *session, cap->cap_id = le64_to_cpu(h->cap_id); cap->mseq = mseq; cap->seq = seq; + cap->issue_seq = seq; spin_lock(&session->s_cap_lock); list_add_tail(&cap->session_caps, &session->s_cap_releases); -- 2.7.4