diff options
author | Adrian Bunk <bunk@kernel.org> | 2007-10-17 02:27:16 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-17 11:42:53 -0400 |
commit | 4a239427f23c7850a33445178ec5f71e19d040b2 (patch) | |
tree | 8e16020bba040a457cdd669048f071c79617e972 /fs/libfs.c | |
parent | ba2a631b14fe8a9c122801c648c49a543d020d8d (diff) |
make fs/libfs.c:simple_commit_write() static
simple_commit_write() can now become static.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/libfs.c')
-rw-r--r-- | fs/libfs.c | 5 |
1 files changed, 2 insertions, 3 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); |