diff options
author | Yan, Zheng <zyan@redhat.com> | 2016-11-17 12:55:30 +0100 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2016-12-12 23:54:28 +0100 |
commit | dc24de82d61b1edc3d195badd178e7875ba9398f (patch) | |
tree | ffc8859e7adb046c72e818aaa6e52efa86ac5c9c /fs/ceph | |
parent | ceph: add flags parameter to send_cap_msg (diff) | |
download | linux-dc24de82d61b1edc3d195badd178e7875ba9398f.tar.xz linux-dc24de82d61b1edc3d195badd178e7875ba9398f.zip |
ceph: properly set issue_seq for cap release
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Diffstat (limited to 'fs/ceph')
-rw-r--r-- | fs/ceph/caps.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |