projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] Add the vgetcpu vsyscall
[powerpc.git]
/
fs
/
hfsplus
/
inode.c
diff --git
a/fs/hfsplus/inode.c
b/fs/hfsplus/inode.c
index
9fbe4d2
..
924ecde
100644
(file)
--- a/
fs/hfsplus/inode.c
+++ b/
fs/hfsplus/inode.c
@@
-109,7
+109,7
@@
static int hfsplus_writepages(struct address_space *mapping,
return mpage_writepages(mapping, wbc, hfsplus_get_block);
}
return mpage_writepages(mapping, wbc, hfsplus_get_block);
}
-struct address_space_operations hfsplus_btree_aops = {
+
const
struct address_space_operations hfsplus_btree_aops = {
.readpage = hfsplus_readpage,
.writepage = hfsplus_writepage,
.sync_page = block_sync_page,
.readpage = hfsplus_readpage,
.writepage = hfsplus_writepage,
.sync_page = block_sync_page,
@@
-119,7
+119,7
@@
struct address_space_operations hfsplus_btree_aops = {
.releasepage = hfsplus_releasepage,
};
.releasepage = hfsplus_releasepage,
};
-struct address_space_operations hfsplus_aops = {
+
const
struct address_space_operations hfsplus_aops = {
.readpage = hfsplus_readpage,
.writepage = hfsplus_writepage,
.sync_page = block_sync_page,
.readpage = hfsplus_readpage,
.writepage = hfsplus_writepage,
.sync_page = block_sync_page,
@@
-280,7
+280,7
@@
static struct inode_operations hfsplus_file_inode_operations = {
.listxattr = hfsplus_listxattr,
};
.listxattr = hfsplus_listxattr,
};
-static struct file_operations hfsplus_file_operations = {
+static
const
struct file_operations hfsplus_file_operations = {
.llseek = generic_file_llseek,
.read = generic_file_read,
.write = generic_file_write,
.llseek = generic_file_llseek,
.read = generic_file_read,
.write = generic_file_write,