Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 629663c9 authored by Lars Ellenberg's avatar Lars Ellenberg Committed by Philipp Reisner
Browse files

drbd: fix wrong assert in completion/retry path of failed local reads

parent ab53b90e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -349,7 +349,7 @@ void req_may_be_completed(struct drbd_request *req, struct bio_and_error *m)
			 * what about (RQ_LOCAL_PENDING | RQ_LOCAL_ABORTED)?
			 */
			D_ASSERT(!(s & RQ_LOCAL_PENDING));
			D_ASSERT(s & RQ_NET_DONE);
			D_ASSERT((s & RQ_NET_MASK) == 0 || (s & RQ_NET_DONE));
		}
	}
	req_may_be_done(req);