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
/
fat
/
dir.c
diff --git
a/fs/fat/dir.c
b/fs/fat/dir.c
index 4095bc149eb12ee182cf11a8b409a37e537d29d0..698b85bb1dd45855a709635eb6239a4c9bbef0d6 100644
(file)
--- a/
fs/fat/dir.c
+++ b/
fs/fat/dir.c
@@
-741,7
+741,7
@@
static int fat_dir_ioctl(struct inode * inode, struct file * filp,
return ret;
}
-struct file_operations fat_dir_operations = {
+
const
struct file_operations fat_dir_operations = {
.read = generic_read_dir,
.readdir = fat_readdir,
.ioctl = fat_dir_ioctl,