ocfs2/cluster: make config_item_type const
authorBhumika Goyal <bhumirks@gmail.com>
Mon, 16 Oct 2017 15:18:44 +0000 (17:18 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 19 Oct 2017 14:15:18 +0000 (16:15 +0200)
commit4843afe4e6a5c1ddb3824b14678aa112e24f1e43
tree9e325279e49a0f1d076d1d77c462966b87705f81
parentece550b5758645809876e6e7862bf485c3a8d15c
ocfs2/cluster: make config_item_type const

Make these structures const as they are either passed to the functions
having the argument as const or stored as a reference in the "ci_type"
const field of a config_item structure.

Done using Coccinelle.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
fs/ocfs2/cluster/heartbeat.c
fs/ocfs2/cluster/nodemanager.c