projects
/
linux-2.6-block.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
[linux-2.6-block.git]
/
fs
/
sysfs
/
bin.c
diff --git
a/fs/sysfs/bin.c
b/fs/sysfs/bin.c
index 78899eeab9742c8e35b8c8a68a43054c0fd9c5a9..c16a93c353c0cba3c7503b8041341be39ff69c21 100644
(file)
--- a/
fs/sysfs/bin.c
+++ b/
fs/sysfs/bin.c
@@
-163,7
+163,7
@@
static int release(struct inode * inode, struct file * file)
return 0;
}
-struct file_operations bin_fops = {
+
const
struct file_operations bin_fops = {
.read = read,
.write = write,
.mmap = mmap,