tmem: Fix tmem-shared-auth 'auth' values

The hypervisor code (tmemc_shared_pool_auth) since the inception
would consider auth values of:
 0 - to disable authentication!
 1 - to enable authentication for the given UUID.

The docs have it the other way around, so lets fix it.

Acked-by: Wei Liu <wei.liu2@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
This commit is contained in:
Konrad Rzeszutek Wilk committed 2017-04-05 09:39:56 -04:00
1 parent a9a3c04567
commit 241b95e4a6
1 file changed
+1 -1
+1 -1
View File
@@ -416,7 +416,7 @@ struct cmd_spec cmd_table[] = {
" -a Authenticate for all tmem pools\n" " -a Authenticate for all tmem pools\n"
" -u UUID Specify uuid\n" " -u UUID Specify uuid\n"
" (abcdef01-2345-6789-1234-567890abcdef)\n" " (abcdef01-2345-6789-1234-567890abcdef)\n"
" -A AUTH 0=auth,1=deauth", " -A AUTH 0=deauth,1=auth",
}, },
{ "tmem-freeable", { "tmem-freeable",
&main_tmem_freeable, 0, 0, &main_tmem_freeable, 0, 0,
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.