ceph: fix misleading/incorrect debug message
authorSage Weil <sage@newdream.net>
Thu, 10 Jun 2010 20:21:20 +0000 (13:21 -0700)
committerSage Weil <sage@newdream.net>
Thu, 10 Jun 2010 20:29:59 +0000 (13:29 -0700)
Nothing is released here: the caps message is simply ignored in this case.

Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/caps.c

index ae3e3a3064451f7b49fedaa3931120ff1af6d169..da2a0e3cb200a51a3c84ab0537cef77ed16bbc0d 100644 (file)
@@ -2714,7 +2714,7 @@ void ceph_handle_caps(struct ceph_mds_session *session,
        spin_lock(&inode->i_lock);
        cap = __get_cap_for_mds(ceph_inode(inode), mds);
        if (!cap) {
-               dout("no cap on %p ino %llx.%llx from mds%d, releasing\n",
+               dout(" no cap on %p ino %llx.%llx from mds%d\n",
                     inode, ceph_ino(inode), ceph_snap(inode), mds);
                spin_unlock(&inode->i_lock);
                goto done;