Commit 7e8e597e authored by Andries E. Brouwer's avatar Andries E. Brouwer Committed by Linus Torvalds

[PATCH] add static in befs

Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 66ab7de6
...@@ -222,11 +222,13 @@ befs_dump_super_block(const struct super_block *sb, befs_super_block * sup) ...@@ -222,11 +222,13 @@ befs_dump_super_block(const struct super_block *sb, befs_super_block * sup)
#endif //CONFIG_BEFS_DEBUG #endif //CONFIG_BEFS_DEBUG
} }
/* unused */
void void
befs_dump_small_data(const struct super_block *sb, befs_small_data * sd) befs_dump_small_data(const struct super_block *sb, befs_small_data * sd)
{ {
} }
/* unused */
void void
befs_dump_run(const struct super_block *sb, befs_block_run run) befs_dump_run(const struct super_block *sb, befs_block_run run)
{ {
......
...@@ -64,22 +64,22 @@ static const struct super_operations befs_sops = { ...@@ -64,22 +64,22 @@ static const struct super_operations befs_sops = {
/* slab cache for befs_inode_info objects */ /* slab cache for befs_inode_info objects */
static kmem_cache_t *befs_inode_cachep; static kmem_cache_t *befs_inode_cachep;
struct file_operations befs_dir_operations = { static struct file_operations befs_dir_operations = {
.read = generic_read_dir, .read = generic_read_dir,
.readdir = befs_readdir, .readdir = befs_readdir,
}; };
struct inode_operations befs_dir_inode_operations = { static struct inode_operations befs_dir_inode_operations = {
.lookup = befs_lookup, .lookup = befs_lookup,
}; };
struct file_operations befs_file_operations = { static struct file_operations befs_file_operations = {
.llseek = default_llseek, .llseek = default_llseek,
.read = generic_file_read, .read = generic_file_read,
.mmap = generic_file_readonly_mmap, .mmap = generic_file_readonly_mmap,
}; };
struct address_space_operations befs_aops = { static struct address_space_operations befs_aops = {
.readpage = befs_readpage, .readpage = befs_readpage,
.sync_page = block_sync_page, .sync_page = block_sync_page,
.bmap = befs_bmap, .bmap = befs_bmap,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment