block: remove wrappers for request type/flags
[deliverable/linux.git] / drivers / block / nbd.c
index 218d091f3c52180106633075f8750db044a11434..2e74e7d475cabc3413f672087a3f5ca70adce5d4 100644 (file)
@@ -448,7 +448,7 @@ static void nbd_clear_que(struct nbd_device *lo)
 
 static void nbd_handle_req(struct nbd_device *lo, struct request *req)
 {
-       if (!blk_fs_request(req))
+       if (req->cmd_type != REQ_TYPE_FS)
                goto error_out;
 
        nbd_cmd(req) = NBD_CMD_READ;
This page took 0.024517 seconds and 5 git commands to generate.