Whamcloud - gitweb
LU-12842 utils: llog_print with snapshot name 14/36414/2
authorAndreas Dilger <adilger@whamcloud.com>
Wed, 9 Oct 2019 17:26:24 +0000 (11:26 -0600)
committerOleg Drokin <green@whamcloud.com>
Tue, 22 Oct 2019 23:57:22 +0000 (23:57 +0000)
commit6e73b5705c6f1cda391b3a9cec8825eb9f914d38
tree95db3a8af81a7ceb4d2ed5054073cfa4d3428daf
parentdd009a221d14feb463ef1179559e5bbab22efa08
LU-12842 utils: llog_print with snapshot name

The lsnapshot utility creates filesystems named with generated
hexadecimal strings.  In some cases the filesystem name may start
with a number instead of a character, which causes "lctl llog_print"
(via llog_ioctl()) to consider the filesystem name invalid.

Allow filesystem names in llog_ioctl() to start with a digit.

Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: Ib2054d5afbeaa3f661148fff834c29f83f5d98ad
Reviewed-on: https://review.whamcloud.com/36414
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Nathaniel Clark <nclark@whamcloud.com>
Reviewed-by: Ben Evans <bevans@cray.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/obdclass/llog_ioctl.c