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
Merge to Fedora kernel-2.6.18-1.2224_FC5 patched with stable patch-2.6.18.1-vs2.0...
[linux-2.6.git]
/
fs
/
affs
/
file.c
diff --git
a/fs/affs/file.c
b/fs/affs/file.c
index
7076262
..
3de8590
100644
(file)
--- a/
fs/affs/file.c
+++ b/
fs/affs/file.c
@@
-406,7
+406,7
@@
static sector_t _affs_bmap(struct address_space *mapping, sector_t block)
{
return generic_block_bmap(mapping,block,affs_get_block);
}
{
return generic_block_bmap(mapping,block,affs_get_block);
}
-struct address_space_operations affs_aops = {
+
const
struct address_space_operations affs_aops = {
.readpage = affs_readpage,
.writepage = affs_writepage,
.sync_page = block_sync_page,
.readpage = affs_readpage,
.writepage = affs_writepage,
.sync_page = block_sync_page,
@@
-759,7
+759,7
@@
out:
goto done;
}
goto done;
}
-struct address_space_operations affs_aops_ofs = {
+
const
struct address_space_operations affs_aops_ofs = {
.readpage = affs_readpage_ofs,
//.writepage = affs_writepage_ofs,
//.sync_page = affs_sync_page_ofs,
.readpage = affs_readpage_ofs,
//.writepage = affs_writepage_ofs,
//.sync_page = affs_sync_page_ofs,