]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
debugfs: allow <inode> for ncheck
authorLi Dongyang <dongyangli@ddn.com>
Fri, 5 Aug 2022 21:52:21 +0000 (15:52 -0600)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 11 Aug 2022 16:36:23 +0000 (12:36 -0400)
commit3a3f3f153372ae5daafad5fb68d84847e9f17e9c
tree2b83dd850e8181b831a7a12aadb03dff28306a57
parentd00971011385a4dfcd0349763e2239052dc1d22b
debugfs: allow <inode> for ncheck

If the ncheck argument is of the form "<ino>", allow it for ncheck
for consistency with other commands that accept an inode number.

Improve the error message, use "Invalid inode number" instead
of "Bad inode", which implies the inode content being bad.

Signed-off-by: Li Dongyang <dongyangli@ddn.com>
Reviewed-by: Andreas Dilger <adilger@dilger.ca>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
debugfs/ncheck.c