[PATCH 3/7] zramctl: mark --reset mutually exclusive with --algorithm and --streams

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Reset is setting algorithm to lz4 and streams to 1.

Signed-off-by: Sami Kerola <kerolasa@xxxxxx>
---
 sys-utils/zramctl.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys-utils/zramctl.c b/sys-utils/zramctl.c
index 04744fd..9a3d5d2 100644
--- a/sys-utils/zramctl.c
+++ b/sys-utils/zramctl.c
@@ -425,8 +425,10 @@ int main(int argc, char **argv)
 	};
 
 	static const ul_excl_t excl[] = {
+		{ 'a', 'r' },
 		{ 'f', 'o', 'r' },
 		{ 'o', 'r', 's' },
+		{ 'r', 't' },
 		{ 0 }
 	};
 	int excl_st[ARRAY_SIZE(excl)] = UL_EXCL_STATUS_INIT;
-- 
2.0.3

--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux