Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 223698
b: refs/heads/master
c: e983dc2
h: refs/heads/master
v: v3
  • Loading branch information
Nitin Gupta authored and Linus Torvalds committed Dec 30, 2010
1 parent 5d7f905 commit 4406a6c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 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: ff20f1779b7f60a9682aa8d62f8ca3b650e4c360
refs/heads/master: e983dc2428164698571e1dd1b25c4322181adbac
6 changes: 0 additions & 6 deletions trunk/drivers/staging/zram/zram_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -435,12 +435,6 @@ static int zram_make_request(struct request_queue *queue, struct bio *bio)
int ret = 0;
struct zram *zram = queue->queuedata;

if (unlikely(!zram->init_done)) {
set_bit(BIO_UPTODATE, &bio->bi_flags);
bio_endio(bio, 0);
return 0;
}

if (!valid_io_request(zram, bio)) {
zram_stat64_inc(zram, &zram->stats.invalid_io);
bio_io_error(bio);
Expand Down

0 comments on commit 4406a6c

Please sign in to comment.