diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-04-04 19:09:41 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-04-09 14:16:20 -0400 |
commit | 75ef9de1267ba171ecefafca35758e2be0db10dc (patch) | |
tree | 597b9e9680535d3ac6c4c50c065090560414a070 /fs | |
parent | c10c062cadf527c3e072f01280d266fbbc592f9d (diff) |
constify a bunch of struct file_operations instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/nfsd/nfsctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfsd/nfsctl.c b/fs/nfsd/nfsctl.c index f33455b4d957..5bee0313dffd 100644 --- a/fs/nfsd/nfsctl.c +++ b/fs/nfsd/nfsctl.c | |||
@@ -177,7 +177,7 @@ static int export_features_open(struct inode *inode, struct file *file) | |||
177 | return single_open(file, export_features_show, NULL); | 177 | return single_open(file, export_features_show, NULL); |
178 | } | 178 | } |
179 | 179 | ||
180 | static struct file_operations export_features_operations = { | 180 | static const struct file_operations export_features_operations = { |
181 | .open = export_features_open, | 181 | .open = export_features_open, |
182 | .read = seq_read, | 182 | .read = seq_read, |
183 | .llseek = seq_lseek, | 183 | .llseek = seq_lseek, |
@@ -196,7 +196,7 @@ static int supported_enctypes_open(struct inode *inode, struct file *file) | |||
196 | return single_open(file, supported_enctypes_show, NULL); | 196 | return single_open(file, supported_enctypes_show, NULL); |
197 | } | 197 | } |
198 | 198 | ||
199 | static struct file_operations supported_enctypes_ops = { | 199 | static const struct file_operations supported_enctypes_ops = { |
200 | .open = supported_enctypes_open, | 200 | .open = supported_enctypes_open, |
201 | .read = seq_read, | 201 | .read = seq_read, |
202 | .llseek = seq_lseek, | 202 | .llseek = seq_lseek, |