Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4a239427 authored by Adrian Bunk's avatar Adrian Bunk Committed by Linus Torvalds
Browse files

make fs/libfs.c:simple_commit_write() static



simple_commit_write() can now become static.

Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent ba2a631b
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -371,7 +371,7 @@ 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,
static int simple_commit_write(struct file *file, struct page *page,
			       unsigned from, unsigned to)
{
	struct inode *inode = page->mapping->host;
@@ -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);
+0 −2
Original line number Diff line number Diff line
@@ -1886,8 +1886,6 @@ extern int simple_empty(struct dentry *);
extern int simple_readpage(struct file *file, struct page *page);
extern int simple_prepare_write(struct file *file, struct page *page,
			unsigned offset, unsigned to);
extern int simple_commit_write(struct file *file, struct page *page,
				unsigned offset, unsigned to);
extern int simple_write_begin(struct file *file, struct address_space *mapping,
			loff_t pos, unsigned len, unsigned flags,
			struct page **pagep, void **fsdata);