mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
ceph: remove redundant test of head->safe and silence static analysis warnings
Signed-off-by: Brad Hubbard <[email protected]> Signed-off-by: Yan, Zheng <[email protected]>
This commit is contained in:
parent
23078637e0
commit
1550d34e56
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue