Commit 9dbd412f authored by Sage Weil's avatar Sage Weil

ceph: fix misleading/incorrect debug message

Nothing is released here: the caps message is simply ignored in this case.
Signed-off-by: default avatarSage Weil <sage@newdream.net>
parent 00d5643e
...@@ -2714,7 +2714,7 @@ void ceph_handle_caps(struct ceph_mds_session *session, ...@@ -2714,7 +2714,7 @@ void ceph_handle_caps(struct ceph_mds_session *session,
spin_lock(&inode->i_lock); spin_lock(&inode->i_lock);
cap = __get_cap_for_mds(ceph_inode(inode), mds); cap = __get_cap_for_mds(ceph_inode(inode), mds);
if (!cap) { 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); inode, ceph_ino(inode), ceph_snap(inode), mds);
spin_unlock(&inode->i_lock); spin_unlock(&inode->i_lock);
goto done; goto done;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment