Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 27730
b: refs/heads/master
c: 7f7c08d
h: refs/heads/master
v: v3
  • Loading branch information
Jörn Engel authored and David Woodhouse committed Apr 17, 2006
1 parent 6fc751d commit 1af76a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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: 94171db1d2f23c22b6050d210b72db3bb2f0b81e
refs/heads/master: 7f7c08dfdf5bc0a7c906285d9d97b932f83e8979
3 changes: 1 addition & 2 deletions trunk/drivers/mtd/mtdblock.c
Original file line number Diff line number Diff line change
Expand Up @@ -288,8 +288,7 @@ static int mtdblock_open(struct mtd_blktrans_dev *mbd)

mutex_init(&mtdblk->cache_mutex);
mtdblk->cache_state = STATE_EMPTY;
if ((mtdblk->mtd->flags & MTD_CAP_RAM) != MTD_CAP_RAM &&
mtdblk->mtd->erasesize) {
if (mtdblk->mtd->type != MTD_RAM && mtdblk->mtd->erasesize) {
mtdblk->cache_size = mtdblk->mtd->erasesize;
mtdblk->cache_data = NULL;
}
Expand Down

0 comments on commit 1af76a7

Please sign in to comment.