Whamcloud - gitweb
LU-11545 debugfs: allow <inode> for ncheck
authorLi Dongyang <dongyangli@ddn.com>
Fri, 23 Jul 2021 03:19:03 +0000 (13:19 +1000)
committerAndreas Dilger <adilger@whamcloud.com>
Tue, 19 Apr 2022 00:16:07 +0000 (18:16 -0600)
commit9530ef2974bfad191b2bd1326d156c3e8a4c902e
treec0834dfb95324b8cb23243e6f9981bb1bc0690cb
parente38c2889360ccb705495c2fe36a526c39fbad951
LU-11545 debugfs: allow <inode> for ncheck

If the arg string is of the form <ino>, allow it
for ncheck.
Improve the error message, use "Invalid inode number"
instead of "Bad inode", which implies the inode
content being bad.

Change-Id: Ib6d7eb53342d93c9e8ecf25835d8ff65bc340980
Signed-off-by: Li Dongyang <dongyangli@ddn.com>
Reviewed-on: https://review.whamcloud.com/44388
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
debugfs/ncheck.c