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
/
9p
/
vfs_file.c
diff --git
a/fs/9p/vfs_file.c
b/fs/9p/vfs_file.c
index 59e74416340775af80a41ee99ce36366c4223466..083dcfcd158e1cd3df4e445fdecabdd3c286f8eb 100644
(file)
--- a/
fs/9p/vfs_file.c
+++ b/
fs/9p/vfs_file.c
@@
-266,7
+266,7
@@
v9fs_file_write(struct file *filp, const char __user * data,
return total;
}
-struct file_operations v9fs_file_operations = {
+
const
struct file_operations v9fs_file_operations = {
.llseek = generic_file_llseek,
.read = v9fs_file_read,
.write = v9fs_file_write,