Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 147075
b: refs/heads/master
c: 172124e
h: refs/heads/master
i:
  147073: 860f082
  147071: 47ad9ae
v: v3
  • Loading branch information
Jens Axboe committed Jun 4, 2009
1 parent c66f93e commit 8c700a8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 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: a05c0205ba031c01bba33a21bf0a35920eb64833
refs/heads/master: 172124e220f1854acc99ee394671781b8b5e2120
7 changes: 0 additions & 7 deletions trunk/fs/block_dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -331,12 +331,6 @@ static int blkdev_readpage(struct file * file, struct page * page)
return block_read_full_page(page, blkdev_get_block);
}

static int blkdev_readpages(struct file *file, struct address_space *mapping,
struct list_head *pages, unsigned nr_pages)
{
return mpage_readpages(mapping, pages, nr_pages, blkdev_get_block);
}

static int blkdev_write_begin(struct file *file, struct address_space *mapping,
loff_t pos, unsigned len, unsigned flags,
struct page **pagep, void **fsdata)
Expand Down Expand Up @@ -1405,7 +1399,6 @@ static int blkdev_releasepage(struct page *page, gfp_t wait)

static const struct address_space_operations def_blk_aops = {
.readpage = blkdev_readpage,
.readpages = blkdev_readpages,
.writepage = blkdev_writepage,
.sync_page = block_sync_page,
.write_begin = blkdev_write_begin,
Expand Down

0 comments on commit 8c700a8

Please sign in to comment.