mm/hugetlb: declare hugetlbfs_pagecache_present() non-static
[linux-2.6-block.git] / mm / hugetlb.c
index 88bb38df1701b53f4ed76b2d1e872402ff8e22e8..740435567be8616d009f5f3dca6c673a2c3f6f7b 100644 (file)
@@ -6113,8 +6113,8 @@ out_release_old:
 /*
  * Return whether there is a pagecache page to back given address within VMA.
  */
-static bool hugetlbfs_pagecache_present(struct hstate *h,
-                       struct vm_area_struct *vma, unsigned long address)
+bool hugetlbfs_pagecache_present(struct hstate *h,
+                                struct vm_area_struct *vma, unsigned long address)
 {
        struct address_space *mapping = vma->vm_file->f_mapping;
        pgoff_t idx = linear_page_index(vma, address);