Whamcloud - gitweb
LU-11545 debugfs: allow <inode> for ncheck 88/44388/4
authorLi Dongyang <dongyangli@ddn.com>
Fri, 23 Jul 2021 03:19:03 +0000 (13:19 +1000)
committerAndreas Dilger <adilger@whamcloud.com>
Thu, 24 Feb 2022 03:18:00 +0000 (03:18 +0000)
commitb15a0ad2fb8703c87dedcf0b2af26e3e750bcb76
tree16e7ed37cd6fc11edca319cd0c3341559f5e7294
parentd31671c781a9c6c0e9459911e4ff05892dc24b5e
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