mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 12:28:41 +08:00
ceph: fix misleading/incorrect debug message
Nothing is released here: the caps message is simply ignored in this case. Signed-off-by: Sage Weil <sage@newdream.net>
This commit is contained in:
parent
00d5643e7c
commit
9dbd412f56
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user