Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1550d34e authored by Brad Hubbard's avatar Brad Hubbard Committed by Ilya Dryomov
Browse files

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



Signed-off-by: default avatarBrad Hubbard <bhubbard@redhat.com>
Signed-off-by: default avatarYan, Zheng <zyan@redhat.com>
parent 23078637
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);