git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
fs
/
efs
/
inode.c
diff --git
a/fs/efs/inode.c
b/fs/efs/inode.c
index
2265e2a
..
174696f
100644
(file)
--- a/
fs/efs/inode.c
+++ b/
fs/efs/inode.c
@@
-13,8
+13,6
@@
#include <linux/module.h>
#include <linux/fs.h>
#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);
static int efs_readpage(struct file *file, struct page *page)
{
return block_read_full_page(page,efs_get_block);
@@
-23,7
+21,7
@@
static sector_t _efs_bmap(struct address_space *mapping, sector_t block)
{
return generic_block_bmap(mapping,block,efs_get_block);
}
{
return generic_block_bmap(mapping,block,efs_get_block);
}
-struct address_space_operations efs_aops = {
+st
atic const st
ruct address_space_operations efs_aops = {
.readpage = efs_readpage,
.sync_page = block_sync_page,
.bmap = _efs_bmap
.readpage = efs_readpage,
.sync_page = block_sync_page,
.bmap = _efs_bmap