diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-04-04 23:09:41 (GMT) |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-04-09 18:16:20 (GMT) |
commit | 75ef9de1267ba171ecefafca35758e2be0db10dc (patch) | |
tree | 597b9e9680535d3ac6c4c50c065090560414a070 /fs/nfsd/nfsctl.c | |
parent | c10c062cadf527c3e072f01280d266fbbc592f9d (diff) | |
download | linux-fsl-qoriq-75ef9de1267ba171ecefafca35758e2be0db10dc.tar.xz |
constify a bunch of struct file_operations instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/nfsd/nfsctl.c')
-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 f33455b..5bee031 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) return single_open(file, export_features_show, NULL); } -static struct file_operations export_features_operations = { +static const struct file_operations export_features_operations = { .open = export_features_open, .read = seq_read, .llseek = seq_lseek, @@ -196,7 +196,7 @@ static int supported_enctypes_open(struct inode *inode, struct file *file) return single_open(file, supported_enctypes_show, NULL); } -static struct file_operations supported_enctypes_ops = { +static const struct file_operations supported_enctypes_ops = { .open = supported_enctypes_open, .read = seq_read, .llseek = seq_lseek, |