diff options
author | Yan, Zheng <zyan@redhat.com> | 2016-11-17 14:55:30 +0300 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2016-12-13 01:54:28 +0300 |
commit | dc24de82d61b1edc3d195badd178e7875ba9398f (patch) | |
tree | ffc8859e7adb046c72e818aaa6e52efa86ac5c9c /fs/ceph | |
parent | 1e4ef0c6332bd90e6c70afc07b35dffaf1eab1a7 (diff) | |
download | linux-dc24de82d61b1edc3d195badd178e7875ba9398f.tar.xz |
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); |