Message ID | 1520005999-13679-1-git-send-email-geert+renesas@glider.be (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/block/blk-core.c b/block/blk-core.c index 2d1a7bbe063437bf..81d2928ce4e9d370 100644 --- a/block/blk-core.c +++ b/block/blk-core.c @@ -2656,9 +2656,9 @@ static bool blk_pm_allow_request(struct request *rq) return rq->rq_flags & RQF_PM; case RPM_SUSPENDED: return false; + default: + return true; } - - return true; } #else static bool blk_pm_allow_request(struct request *rq)