Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 144891
b: refs/heads/master
c: f2deae9
h: refs/heads/master
i:
  144889: c80493c
  144887: 0bcd6ec
v: v3
  • Loading branch information
Mel Gorman authored and Linus Torvalds committed May 13, 2009
1 parent f8a49ad commit 571d13a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 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: a4f1cb9f3c42e5d278b0678ed5225d9331a8dcff
refs/heads/master: f2deae9d4e70793568ef9e85d227abb7bef5b622
11 changes: 0 additions & 11 deletions trunk/fs/hugetlbfs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -312,16 +312,6 @@ static ssize_t hugetlbfs_read(struct file *filp, char __user *buf,
return retval;
}

/*
* Read a page. Again trivial. If it didn't already exist
* in the page cache, it is zero-filled.
*/
static int hugetlbfs_readpage(struct file *file, struct page * page)
{
unlock_page(page);
return -EINVAL;
}

static int hugetlbfs_write_begin(struct file *file,
struct address_space *mapping,
loff_t pos, unsigned len, unsigned flags,
Expand Down Expand Up @@ -701,7 +691,6 @@ static void hugetlbfs_destroy_inode(struct inode *inode)
}

static const struct address_space_operations hugetlbfs_aops = {
.readpage = hugetlbfs_readpage,
.write_begin = hugetlbfs_write_begin,
.write_end = hugetlbfs_write_end,
.set_page_dirty = hugetlbfs_set_page_dirty,
Expand Down

0 comments on commit 571d13a

Please sign in to comment.