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
/
nfsd
/
stats.c
diff --git
a/fs/nfsd/stats.c
b/fs/nfsd/stats.c
index 1cf955bcc526ecd7db7a0be50a58021e0663ac6e..57265d56380453750310a39c5305a39178a1c35c 100644
(file)
--- a/
fs/nfsd/stats.c
+++ b/
fs/nfsd/stats.c
@@
-80,7
+80,7
@@
static int nfsd_proc_open(struct inode *inode, struct file *file)
return single_open(file, nfsd_proc_show, NULL);
}
-static struct file_operations nfsd_proc_fops = {
+static
const
struct file_operations nfsd_proc_fops = {
.owner = THIS_MODULE,
.open = nfsd_proc_open,
.read = seq_read,