commit | 93e83d620d21411eb82fd3c4e95d7b73e79ce49d | [log] [tgz] |
---|---|---|
author | Coly Li <colyli@suse.de> | Thu Dec 31 23:59:16 2020 +0800 |
committer | Coly Li <colyli@suse.de> | Sat Jan 02 00:21:22 2021 +0800 |
tree | c763434082a7c1f561a9a58df9a6fa24d4822cb2 | |
parent | 86d708d996935edd2f53ada336c40c38cc7fdfd7 [diff] |
bcache-tools: check incompatible feature set When bcache-tools is not updated with kernel driver (or on the versus), we need to make sure the feature set conflict can be detected to avoid unexpected data operation. This patch checks whether there is unsupported {compatc, ro_compat, incompat} features detected in detail_dev(). If there is, prints out error message and return error to its caller. Signed-off-by: Coly Li <colyli@suse.de>