Commit acaca36d authored by Julia Lawall's avatar Julia Lawall Committed by Mike Marshall

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: default avatarJulia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: default avatarMike Marshall <hubcap@omnibond.com>
parent f987f4c2
......@@ -342,7 +342,7 @@ static int orangefs_encode_fh(struct inode *inode,
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,
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment