projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2307863
)
ceph: remove redundant test of head->safe and silence static analysis warnings
author
Brad Hubbard
<bhubbard@redhat.com>
Tue, 18 Aug 2015 02:18:53 +0000
(10:18 +0800)
committer
Ilya Dryomov
<idryomov@gmail.com>
Tue, 8 Sep 2015 20:14:29 +0000
(23:14 +0300)
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
Signed-off-by: Yan, Zheng <zyan@redhat.com>
fs/ceph/mds_client.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ceph/mds_client.c
b/fs/ceph/mds_client.c
index ddc471c3223000ef5d272d1cbd6ab5956d003785..d4eaa849a820e97ea54911ce9f20efdf594bf38a 100644
(file)
--- a/
fs/ceph/mds_client.c
+++ b/
fs/ceph/mds_client.c
@@
-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);