OrangeFS: constify export_operations structures

This export_operations structure is never modified, so declare it as const.
Most other structures of this type are already const.

Done with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
This commit is contained in:
Julia Lawall 2016-01-01 10:01:52 +01:00 коммит произвёл Mike Marshall
Родитель f987f4c28a
Коммит acaca36dd9
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -342,7 +342,7 @@ out:
return type;
}
static struct export_operations orangefs_export_ops = {
static const struct export_operations orangefs_export_ops = {
.encode_fh = orangefs_encode_fh,
.fh_to_dentry = orangefs_fh_to_dentry,
};