mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
drbd: Silenced an assert
That assertion's condition needed adjustment for today's semantics Signed-off-by: Philipp Reisner <[email protected]> Signed-off-by: Lars Ellenberg <[email protected]>
This commit is contained in:
parent
fb2c7a10ee
commit
8825f7c3e5
2 changed files with 2 additions and 2 deletions
|
|
@ -258,7 +258,7 @@ void _req_may_be_done(struct drbd_request *req, struct bio_and_error *m)
|
|||
if (!hlist_unhashed(&req->colision))
|
||||
hlist_del(&req->colision);
|
||||
else
|
||||
D_ASSERT((s & RQ_NET_MASK) == 0);
|
||||
D_ASSERT((s & (RQ_NET_MASK & ~RQ_NET_DONE)) == 0);
|
||||
|
||||
/* for writes we need to do some extra housekeeping */
|
||||
if (rw == WRITE)
|
||||
|
|
|
|||
Loading…
Reference in a new issue