Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 43572
b: refs/heads/master
c: b39424e
h: refs/heads/master
v: v3
  • Loading branch information
Josef Sipek authored and Linus Torvalds committed Dec 8, 2006
1 parent 4a11ca2 commit 0bb5f9d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 471b17e7ed0cb29338458eaa09103902891d802a
refs/heads/master: b39424e274a17c9c3233c9911dd328b10370de8f
6 changes: 3 additions & 3 deletions trunk/fs/hugetlbfs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ static void huge_pagevec_release(struct pagevec *pvec)

static int hugetlbfs_file_mmap(struct file *file, struct vm_area_struct *vma)
{
struct inode *inode = file->f_dentry->d_inode;
struct inode *inode = file->f_path.dentry->d_inode;
loff_t len, vma_len;
int ret;

Expand Down Expand Up @@ -774,8 +774,8 @@ struct file *hugetlb_zero_setup(size_t size)
d_instantiate(dentry, inode);
inode->i_size = size;
inode->i_nlink = 0;
file->f_vfsmnt = mntget(hugetlbfs_vfsmount);
file->f_dentry = dentry;
file->f_path.mnt = mntget(hugetlbfs_vfsmount);
file->f_path.dentry = dentry;
file->f_mapping = inode->i_mapping;
file->f_op = &hugetlbfs_file_operations;
file->f_mode = FMODE_WRITE | FMODE_READ;
Expand Down

0 comments on commit 0bb5f9d

Please sign in to comment.