Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 205756
b: refs/heads/master
c: eeba34d
h: refs/heads/master
v: v3
  • Loading branch information
Javier Martinez Canillas authored and Greg Kroah-Hartman committed Jun 25, 2010
1 parent 75be905 commit 4b92a72
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3afbe13cbe02ca9911435b274a256f5502bb36de
refs/heads/master: eeba34d97a2e391f85b30c88ba8d4b0f51f9f8c3
2 changes: 1 addition & 1 deletion trunk/drivers/staging/spectra/ffsport.c
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ static int do_transfer(struct spectra_nand_dev *tr, struct request *req)
return 0;
}

if (!blk_fs_request(req))
if (req->cmd_type != REQ_TYPE_FS)
return -EIO;

if (blk_rq_pos(req) + blk_rq_cur_sectors(req) > get_capacity(tr->gd)) {
Expand Down

0 comments on commit 4b92a72

Please sign in to comment.