diff --git a/fs/ceph/caps.c b/fs/ceph/caps.c index 5f3aa4d607def2fd104a8c2349f37555cb53cfc3..f1acde6fb9a6181985e878e981a977719c8c7f68 100644 --- a/fs/ceph/caps.c +++ b/fs/ceph/caps.c @@ -3991,7 +3991,7 @@ void ceph_handle_caps(struct ceph_mds_session *session, __ceph_queue_cap_release(session, cap); spin_unlock(&session->s_cap_lock); } - goto done; + goto flush_cap_releases; } /* these will work even if we don't have a cap yet */