projects
/
linux-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-block.git]
/
fs
/
hpfs
/
file.c
diff --git
a/fs/hpfs/file.c
b/fs/hpfs/file.c
index 7c995ac4081bcbbbf1c1b0cf0eec5c0a3691413a..d3b9fffe45a140bedc792f9022f4af7c8f7908ce 100644
(file)
--- a/
fs/hpfs/file.c
+++ b/
fs/hpfs/file.c
@@
-119,7
+119,7
@@
static ssize_t hpfs_file_write(struct file *file, const char __user *buf,
return retval;
}
-struct file_operations hpfs_file_ops =
+
const
struct file_operations hpfs_file_ops =
{
.llseek = generic_file_llseek,
.read = generic_file_read,