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

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
Signed-off-by: Yan, Zheng <zyan@redhat.com>
This commit is contained in:
Brad Hubbard 2015-08-18 10:18:53 +08:00 committed by Ilya Dryomov
parent 23078637e0
commit 1550d34e56
1 changed files with 1 additions and 1 deletions

View File

@ -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);