projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] mark address_space_operations const
[linux-2.6-microblaze.git]
/
fs
/
buffer.c
diff --git
a/fs/buffer.c
b/fs/buffer.c
index
f23bb64
..
e999472
100644
(file)
--- a/
fs/buffer.c
+++ b/
fs/buffer.c
@@
-2598,7
+2598,7
@@
int nobh_truncate_page(struct address_space *mapping, loff_t from)
unsigned offset = from & (PAGE_CACHE_SIZE-1);
unsigned to;
struct page *page;
- struct address_space_operations *a_ops = mapping->a_ops;
+
const
struct address_space_operations *a_ops = mapping->a_ops;
char *kaddr;
int ret = 0;