]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
client: fix incorrect debug message
authorYan, Zheng <zyan@redhat.com>
Thu, 14 Nov 2019 09:07:12 +0000 (17:07 +0800)
committerYan, Zheng <zyan@redhat.com>
Thu, 14 Nov 2019 09:07:12 +0000 (17:07 +0800)
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
src/client/Client.cc

index f3f6cacc9eba2fed1de8e6af2b182ec442b41702..ab10ee85f65654d0c7ab49e3984fc27037cfc0ad 100644 (file)
@@ -5169,7 +5169,7 @@ void Client::handle_cap_grant(MetaSession *session, Inode *in, Cap *cap, const M
                << " mds." << mds << " seq " << m->get_seq()
                << " caps now " << ccap_string(new_caps)
                << " was " << ccap_string(cap->issued)
-               << (was_stale ? "" : " (stale)") << dendl;
+               << (was_stale ? " (stale)" : "") << dendl;
 
   if (was_stale)
       cap->issued = cap->implemented = CEPH_CAP_PIN;