projects
/
deliverable
/
linux.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
[deliverable/linux.git]
/
fs
/
sysfs
/
dir.c
diff --git
a/fs/sysfs/dir.c
b/fs/sysfs/dir.c
index 9ee956864445e54025343eab41b9ed5da4dc8665..f26880a4785eec127e80ce736144624c3016098c 100644
(file)
--- a/
fs/sysfs/dir.c
+++ b/
fs/sysfs/dir.c
@@
-503,7
+503,7
@@
static loff_t sysfs_dir_lseek(struct file * file, loff_t offset, int origin)
return offset;
}
-struct file_operations sysfs_dir_operations = {
+
const
struct file_operations sysfs_dir_operations = {
.open = sysfs_dir_open,
.release = sysfs_dir_close,
.llseek = sysfs_dir_lseek,
This page took
0.036283 seconds
and
5
git commands to generate.