projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] Make most file operations structs in fs/ const
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
fs
/
ramfs
/
file-mmu.c
diff --git
a/fs/ramfs/file-mmu.c
b/fs/ramfs/file-mmu.c
index 6ada2095b9ac3609340138286cad2d1e35d0d0c1..00a933eb820c27127cc330adbca12e6518deb4d8 100644
(file)
--- a/
fs/ramfs/file-mmu.c
+++ b/
fs/ramfs/file-mmu.c
@@
-32,7
+32,7
@@
struct address_space_operations ramfs_aops = {
.commit_write = simple_commit_write
};
-struct file_operations ramfs_file_operations = {
+
const
struct file_operations ramfs_file_operations = {
.read = generic_file_read,
.write = generic_file_write,
.mmap = generic_file_mmap,