提交 1550d34e 编写于 作者: B Brad Hubbard 提交者: Ilya Dryomov

ceph: remove redundant test of head->safe and silence static analysis warnings

Signed-off-by: NBrad Hubbard <bhubbard@redhat.com>
Signed-off-by: NYan, Zheng <zyan@redhat.com>
上级 23078637
......@@ -2415,7 +2415,7 @@ static void handle_reply(struct ceph_mds_session *session, struct ceph_msg *msg)
mutex_unlock(&mdsc->mutex);
goto out;
}
if (req->r_got_safe && !head->safe) {
if (req->r_got_safe) {
pr_warn("got unsafe after safe on %llu from mds%d\n",
tid, mds);
mutex_unlock(&mdsc->mutex);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册