Skip to content

Commit

Permalink
[PATCH] mm/filemap.c:filemap_populate(): move export.
Browse files Browse the repository at this point in the history
move EXPORT_SYMBOL(filemap_populate) to the proper place: just after
function itself: it's easy to miss that function is exported otherwise.

Signed-off-by: Nikita Danilov <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Nikita Danilov authored and Linus Torvalds committed Oct 30, 2005
1 parent 2f96996 commit b145946
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mm/filemap.c
Original file line number Diff line number Diff line change
Expand Up @@ -1537,6 +1537,7 @@ int filemap_populate(struct vm_area_struct *vma, unsigned long addr,

return 0;
}
EXPORT_SYMBOL(filemap_populate);

struct vm_operations_struct generic_file_vm_ops = {
.nopage = filemap_nopage,
Expand All @@ -1555,7 +1556,6 @@ int generic_file_mmap(struct file * file, struct vm_area_struct * vma)
vma->vm_ops = &generic_file_vm_ops;
return 0;
}
EXPORT_SYMBOL(filemap_populate);

/*
* This is for filesystems which do not implement ->writepage.
Expand Down

0 comments on commit b145946

Please sign in to comment.