From 1ea79e28683a891e26465d468339550e71955c03 Mon Sep 17 00:00:00 2001 From: Lauri Niskanen Date: Sun, 23 Aug 2015 09:54:57 +0300 Subject: [PATCH] Fix a critical typo on eio_cli There is a typo on eio_cli (see the diff) causing serious issues when reassembling existing caches. Please review and merge this as soon as possible. --- CLI/eio_cli | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CLI/eio_cli b/CLI/eio_cli index 3453b35..0fc55c4 100755 --- a/CLI/eio_cli +++ b/CLI/eio_cli @@ -645,7 +645,7 @@ def main(): elif args.hdd: cache = Cache_rec(name = args.cache,\ ssd_name = args.hdd, persistence = 1) - cache.do_eio_ioctl(EIO_IOC_HDD_ADD) + cache.do_eio_ioctl(EIO_IOC_SRC_ADD) elif args.action == "remove": if args.ssd: @@ -655,7 +655,7 @@ def main(): elif args.hdd: cache = Cache_rec(name = args.cache, hdd_name = args.hdd,\ persistence = 1) - cache.do_eio_ioctl(EIO_HDD_REMOVE) + cache.do_eio_ioctl(EIO_SRC_REMOVE) pass