drm/i915: add media well to VLV force wake routines v2
[deliverable/linux.git] / include / linux / hugetlb.h
index eedc334fb6f5bb0de85e6b16da4ca206487fb96c..16e4e9a643fb18a67ef73fb7f0feef5b074449a5 100644 (file)
@@ -281,7 +281,7 @@ static inline struct hstate *hstate_inode(struct inode *i)
 
 static inline struct hstate *hstate_file(struct file *f)
 {
-       return hstate_inode(f->f_dentry->d_inode);
+       return hstate_inode(file_inode(f));
 }
 
 static inline struct hstate *hstate_vma(struct vm_area_struct *vma)
This page took 0.02612 seconds and 5 git commands to generate.