mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
ceph: make sure request isn't in any waiting list when kicking request.
we may corrupt waiting list if a request in the waiting list is kicked. Signed-off-by: Yan, Zheng <[email protected]> Reviewed-by: Sage Weil <[email protected]>
This commit is contained in:
parent
656e438294
commit
03974e8177
1 changed files with 1 additions and 0 deletions
|
|
@ -2078,6 +2078,7 @@ static void kick_requests(struct ceph_mds_client *mdsc, int mds)
|
|||
if (req->r_session &&
|
||||
req->r_session->s_mds == mds) {
|
||||
dout(" kicking tid %llu\n", req->r_tid);
|
||||
list_del_init(&req->r_wait);
|
||||
__do_request(mdsc, req);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue