diff options
author | Adam Kwolek <adam.kwolek@intel.com> | 2010-11-29 12:11:09 +1100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2010-11-29 12:11:09 +1100 |
commit | 6d11ec6fc2a9d47d7af0773b03fa4104983ffc80 (patch) | |
tree | d50ed530b68755646d6c16cc2949e01b3a8311f1 /util.c | |
parent | 62a48395f60965d04da1a9cbb937bda79dd071c8 (diff) |
Treat feature as experimental
Due to fact that IMSM Windows compatibility was not tested yet,
feature has to be treated as experimental until compatibility
verification will be performed.
Signed-off-by: Adam Kwolek <adam.kwolek@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -1896,3 +1896,13 @@ void append_metadata_update(struct supertype *st, void *buf, int len) unsigned int __invalid_size_argument_for_IOC = 0; #endif +int experimental(void) +{ + if (check_env("MDADM_EXPERIMENTAL")) + return 1; + else { + fprintf(stderr, Name ": To use this feature MDADM_EXPERIMENTAL enviroment variable has to defined.\n"); + return 0; + } +} + |