diff options
Diffstat (limited to 'drivers/block/xd.c')
-rw-r--r-- | drivers/block/xd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/xd.c b/drivers/block/xd.c index 18a80ff57ce8..4dc298376098 100644 --- a/drivers/block/xd.c +++ b/drivers/block/xd.c | |||
@@ -322,7 +322,7 @@ static void do_xd_request (struct request_queue * q) | |||
322 | int res = -EIO; | 322 | int res = -EIO; |
323 | int retry; | 323 | int retry; |
324 | 324 | ||
325 | if (!blk_fs_request(req)) | 325 | if (req->cmd_type != REQ_TYPE_FS) { |
326 | goto done; | 326 | goto done; |
327 | if (block + count > get_capacity(req->rq_disk)) | 327 | if (block + count > get_capacity(req->rq_disk)) |
328 | goto done; | 328 | goto done; |