commit | 67163cc86255bb93d524051e488de15172ab396c | [log] [tgz] |
---|---|---|
author | Coly Li <colyli@suse.de> | Sun Aug 23 00:26:31 2020 +0800 |
committer | Coly Li <colyli@suse.de> | Sat Aug 29 16:27:39 2020 +0800 |
tree | 5f26550a4a0bc1c08649c3a05e6b18d28860e85d | |
parent | 38726cd652e3a3b75f2ae26f8b73e05dff7ed662 [diff] |
bcache-tools: make: permit only one cache device to be specified Now a cache set only has a single cache, therefore "bcache make" should permit only one cache device to be specified for a cache set. This patch checks if more than one cache devices are specified by "-C" an error message "Please specify only one cache device" will be printed and bcache exits with usage information. Signed-off-by: Coly Li <colyli@suse.de>