mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
make fs/libfs.c:simple_commit_write() static
simple_commit_write() can now become static. Signed-off-by: Adrian Bunk <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
ba2a631b14
commit
4a239427f2
2 changed files with 2 additions and 5 deletions
|
|
@ -371,8 +371,8 @@ int simple_write_begin(struct file *file, struct address_space *mapping,
|
|||
return simple_prepare_write(file, page, from, from+len);
|
||||
}
|
||||
|
||||
int simple_commit_write(struct file *file, struct page *page,
|
||||
unsigned from, unsigned to)
|
||||
static int simple_commit_write(struct file *file, struct page *page,
|
||||
unsigned from, unsigned to)
|
||||
{
|
||||
struct inode *inode = page->mapping->host;
|
||||
loff_t pos = ((loff_t)page->index << PAGE_CACHE_SHIFT) + to;
|
||||
|
|
@ -686,7 +686,6 @@ EXPORT_SYMBOL(generic_read_dir);
|
|||
EXPORT_SYMBOL(get_sb_pseudo);
|
||||
EXPORT_SYMBOL(simple_write_begin);
|
||||
EXPORT_SYMBOL(simple_write_end);
|
||||
EXPORT_SYMBOL(simple_commit_write);
|
||||
EXPORT_SYMBOL(simple_dir_inode_operations);
|
||||
EXPORT_SYMBOL(simple_dir_operations);
|
||||
EXPORT_SYMBOL(simple_empty);
|
||||
|
|
|
|||
Loading…
Reference in a new issue