From dc24de82d61b1edc3d195badd178e7875ba9398f Mon Sep 17 00:00:00 2001 From: "Yan, Zheng" Date: Thu, 17 Nov 2016 19:55:30 +0800 Subject: ceph: properly set issue_seq for cap release Signed-off-by: Yan, Zheng --- fs/ceph/caps.c | 1 + 1 file changed, 1 insertion(+) (limited to 'fs/ceph/caps.c') diff --git a/fs/ceph/caps.c b/fs/ceph/caps.c index b54af160526e..baea866a6751 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); -- cgit v1.2.3