mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
cov: drop unneeded constness
If we want to have const structure - use a const pointer to avoid, however making individual members const make it only assingle in construct time and we already violate this logic since we memcpy into the structure - so drop these unnecessary consts...
This commit is contained in:
parent
17ee5df857
commit
4d64838048
@ -45,18 +45,18 @@ struct lvmpolld_lv {
|
|||||||
* accessing following vars doesn't
|
* accessing following vars doesn't
|
||||||
* require struct lvmpolld_lv lock
|
* require struct lvmpolld_lv lock
|
||||||
*/
|
*/
|
||||||
struct lvmpolld_state *const ls;
|
struct lvmpolld_state *ls;
|
||||||
const enum poll_type type;
|
const enum poll_type type;
|
||||||
const char *const lvid;
|
const char *lvid;
|
||||||
const char *const lvmpolld_id;
|
const char *lvmpolld_id;
|
||||||
const char *const devicesfile;
|
const char *devicesfile;
|
||||||
const char *const lvname; /* full vg/lv name */
|
const char *lvname; /* full vg/lv name */
|
||||||
const unsigned pdtimeout; /* in seconds */
|
const unsigned pdtimeout; /* in seconds */
|
||||||
const char *const sinterval;
|
const char *sinterval;
|
||||||
const char *const lvm_system_dir_env;
|
const char *lvm_system_dir_env;
|
||||||
struct lvmpolld_store *const pdst;
|
struct lvmpolld_store *pdst;
|
||||||
const char *const *cmdargv;
|
const char **cmdargv;
|
||||||
const char *const *cmdenvp;
|
const char **cmdenvp;
|
||||||
|
|
||||||
/* only used by write */
|
/* only used by write */
|
||||||
pid_t cmd_pid;
|
pid_t cmd_pid;
|
||||||
|
Loading…
Reference in New Issue
Block a user