[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:
committed by
Linus Torvalds
parent
2f96996de0
commit
b1459461f1
@@ -1537,6 +1537,7 @@ repeat:
|
|||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL(filemap_populate);
|
||||||
|
|
||||||
struct vm_operations_struct generic_file_vm_ops = {
|
struct vm_operations_struct generic_file_vm_ops = {
|
||||||
.nopage = filemap_nopage,
|
.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;
|
vma->vm_ops = &generic_file_vm_ops;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL(filemap_populate);
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This is for filesystems which do not implement ->writepage.
|
* This is for filesystems which do not implement ->writepage.
|
||||||
|
Reference in New Issue
Block a user