mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 15:40:56 +07:00
[PATCH] mm/filemap.c:filemap_populate(): move export.
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 <nikita@clusterfs.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
2f96996de0
commit
b1459461f1
@ -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,
|
||||
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user