#include <linux/module.h>
#include <linux/fs.h>
-
-extern int efs_get_block(struct inode *, sector_t, struct buffer_head *, int);
static int efs_readpage(struct file *file, struct page *page)
{
return block_read_full_page(page,efs_get_block);
{
return generic_block_bmap(mapping,block,efs_get_block);
}
-struct address_space_operations efs_aops = {
+static struct address_space_operations efs_aops = {
.readpage = efs_readpage,
.sync_page = block_sync_page,
.bmap = _efs_bmap