commit | dc24de82d61b1edc3d195badd178e7875ba9398f | [log] [tgz] |
---|---|---|
author | Yan, Zheng <zyan@redhat.com> | Thu Nov 17 19:55:30 2016 +0800 |
committer | Ilya Dryomov <idryomov@gmail.com> | Mon Dec 12 23:54:28 2016 +0100 |
tree | ffc8859e7adb046c72e818aaa6e52efa86ac5c9c | |
parent | 1e4ef0c6332bd90e6c70afc07b35dffaf1eab1a7 [diff] [blame] |
ceph: properly set issue_seq for cap release Signed-off-by: Yan, Zheng <zyan@redhat.com>
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);