diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2015-11-21 16:15:37 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-12-06 21:17:16 -0500 |
commit | 0125f504ed320826a78b43d636de957d703465a8 (patch) | |
tree | 67ec2fce9e0eaa9e8d5bb3c5b8ea8bab349eeab1 /fs/adfs/dir_fplus.c | |
parent | b896fb35ca904fe5b7765fcd81a45f09a62e8d03 (diff) | |
download | talos-obmc-linux-0125f504ed320826a78b43d636de957d703465a8.tar.gz talos-obmc-linux-0125f504ed320826a78b43d636de957d703465a8.zip |
adfs: constify adfs_dir_ops structures
The adfs_dir_ops structures are never modified, so declare them as const.
Done with the help of Coccinelle.
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/adfs/dir_fplus.c')
-rw-r--r-- | fs/adfs/dir_fplus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/adfs/dir_fplus.c b/fs/adfs/dir_fplus.c index 82d14cdf70f9..c92cfb638c18 100644 --- a/fs/adfs/dir_fplus.c +++ b/fs/adfs/dir_fplus.c @@ -256,7 +256,7 @@ adfs_fplus_free(struct adfs_dir *dir) dir->sb = NULL; } -struct adfs_dir_ops adfs_fplus_dir_ops = { +const struct adfs_dir_ops adfs_fplus_dir_ops = { .read = adfs_fplus_read, .setpos = adfs_fplus_setpos, .getnext = adfs_fplus_getnext, |