ceph: fix leaked spinlock during mds reconnect
Signed-off-by: Sage Weil <sage@newdream.net>
This commit is contained in:
@ -1861,8 +1861,8 @@ static void kick_flushing_capsnaps(struct ceph_mds_client *mdsc,
|
|||||||
} else {
|
} else {
|
||||||
pr_err("%p auth cap %p not mds%d ???\n", inode,
|
pr_err("%p auth cap %p not mds%d ???\n", inode,
|
||||||
cap, session->s_mds);
|
cap, session->s_mds);
|
||||||
spin_unlock(&inode->i_lock);
|
|
||||||
}
|
}
|
||||||
|
spin_unlock(&inode->i_lock);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user