diff options
-rw-r--r-- | fs/libfs.c | 5 | ||||
-rw-r--r-- | include/linux/fs.h | 2 |
2 files changed, 2 insertions, 5 deletions
diff --git a/fs/libfs.c b/fs/libfs.c index f2b32d3a9093..ae51481e45e5 100644 --- a/fs/libfs.c +++ b/fs/libfs.c | |||
@@ -371,8 +371,8 @@ int simple_write_begin(struct file *file, struct address_space *mapping, | |||
371 | return simple_prepare_write(file, page, from, from+len); | 371 | return simple_prepare_write(file, page, from, from+len); |
372 | } | 372 | } |
373 | 373 | ||
374 | int simple_commit_write(struct file *file, struct page *page, | 374 | static int simple_commit_write(struct file *file, struct page *page, |
375 | unsigned from, unsigned to) | 375 | unsigned from, unsigned to) |
376 | { | 376 | { |
377 | struct inode *inode = page->mapping->host; | 377 | struct inode *inode = page->mapping->host; |
378 | loff_t pos = ((loff_t)page->index << PAGE_CACHE_SHIFT) + to; | 378 | loff_t pos = ((loff_t)page->index << PAGE_CACHE_SHIFT) + to; |
@@ -686,7 +686,6 @@ EXPORT_SYMBOL(generic_read_dir); | |||
686 | EXPORT_SYMBOL(get_sb_pseudo); | 686 | EXPORT_SYMBOL(get_sb_pseudo); |
687 | EXPORT_SYMBOL(simple_write_begin); | 687 | EXPORT_SYMBOL(simple_write_begin); |
688 | EXPORT_SYMBOL(simple_write_end); | 688 | EXPORT_SYMBOL(simple_write_end); |
689 | EXPORT_SYMBOL(simple_commit_write); | ||
690 | EXPORT_SYMBOL(simple_dir_inode_operations); | 689 | EXPORT_SYMBOL(simple_dir_inode_operations); |
691 | EXPORT_SYMBOL(simple_dir_operations); | 690 | EXPORT_SYMBOL(simple_dir_operations); |
692 | EXPORT_SYMBOL(simple_empty); | 691 | EXPORT_SYMBOL(simple_empty); |
diff --git a/include/linux/fs.h b/include/linux/fs.h index 73f0bdbe436a..bb89a5dfe9ad 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -1886,8 +1886,6 @@ extern int simple_empty(struct dentry *); | |||
1886 | extern int simple_readpage(struct file *file, struct page *page); | 1886 | extern int simple_readpage(struct file *file, struct page *page); |
1887 | extern int simple_prepare_write(struct file *file, struct page *page, | 1887 | extern int simple_prepare_write(struct file *file, struct page *page, |
1888 | unsigned offset, unsigned to); | 1888 | unsigned offset, unsigned to); |
1889 | extern int simple_commit_write(struct file *file, struct page *page, | ||
1890 | unsigned offset, unsigned to); | ||
1891 | extern int simple_write_begin(struct file *file, struct address_space *mapping, | 1889 | extern int simple_write_begin(struct file *file, struct address_space *mapping, |
1892 | loff_t pos, unsigned len, unsigned flags, | 1890 | loff_t pos, unsigned len, unsigned flags, |
1893 | struct page **pagep, void **fsdata); | 1891 | struct page **pagep, void **fsdata); |