projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
new helper: file_inode(file)
[linux-block.git]
/
fs
/
hugetlbfs
/
inode.c
diff --git
a/fs/hugetlbfs/inode.c
b/fs/hugetlbfs/inode.c
index 78bde32ea9518d3fffe72d24864b6959bb369781..edb42ea60c761afff0cf8876c6d7bccb724eb4dd 100644
(file)
--- a/
fs/hugetlbfs/inode.c
+++ b/
fs/hugetlbfs/inode.c
@@
-97,7
+97,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_path.dentry->d_inode
;
+ struct inode *inode = file
_inode(file)
;
loff_t len, vma_len;
int ret;
struct hstate *h = hstate_file(file);