Whamcloud - gitweb
LU-14893 lctl: check user for changelog_deregister
authorEmoly Liu <emoly@whamcloud.com>
Fri, 30 Jul 2021 08:13:12 +0000 (16:13 +0800)
committerAndreas Dilger <adilger@whamcloud.com>
Thu, 7 Jul 2022 18:14:08 +0000 (18:14 +0000)
commitddf75f08c336f37f58faca0c4ec52df1997d4abb
treefa476b54e94bcf11f3977161b23a3f333bfa66e6
parent8c02a547b07bd8d5d705b5bd73bb30bd1e198d09
LU-14893 lctl: check user for changelog_deregister

If no user is specified for "lctl changelog_deregister", usage
should be printed correctly.
Also, sanity.sh test_106e is modified to verify this fix.

Lustre-change: https://review.whamcloud.com/44432
Lustre-commit: 644cb83921451316d226d8de1c81a82abb4b333e

Fixes: a15eb4f13224e ("LU-13055 mdd: per-user changelog names and mask")
Signed-off-by: Emoly Liu <emoly@whamcloud.com>
Change-Id: Ia7f1b18e82f6b4174b9435cd67aba5f591d43ce1
Reviewed-by: Mike Pershin <mpershin@whamcloud.com>
Reviewed-by: James Nunez <jnunez@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/47837
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/tests/sanity.sh
lustre/utils/obd.c