[Ocfs2-tools-devel] debugfs.ocfs2 usage message fix
GONG Jie
jie.gong at oracle.com
Mon Sep 4 00:34:54 PDT 2006
Hi, all
I have re-create the patch.
Since command ``ncheck'', ``findpath'', ``locate'', ``extent'', ``group'' all
call function process_inodestr_args to process their arguments. But
``ncheck'', ``findpath'' and ``locate'' expect inode number, ``extent'',
``group'' expect block number.
So I fix the do_help() and change process_inodestr_args() to process these two
situation.
On Thursday 24 August 2006 17:43, GONG Jie wrote:
> The help message in debufs.ocfs2 is not consist among ``extent'',
> ``findpath'', ``locate'', ``ncheck'' and ``help''.
>
> ``help'' show that extent accept a block number as its argument.
> ---8<---
> extent <block#> Show extent block
> ---8<---
>
> But ``extent'' says its argument is an inode number.
> ---8<---
> debugfs: extent
> usage: extent <inode#>
> ---8<---
>
> It is confused. So I change function process_inodestr_args() to fix that.
--
Regards,
GONG Jie (龚颉)
Linux Engineering, Emerging Technology & Solution Development
Oracle Software Research and Development Center
Tel: +86-10-82786289
Mobile: +86-13011102030
Email: jie.gong at oracle.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: debugfs-fix-block-number-usage.patch
Type: text/x-diff
Size: 1904 bytes
Desc: not available
Url : http://oss.oracle.com/pipermail/ocfs2-tools-devel/attachments/20060904/be999304/debugfs-fix-block-number-usage.bin
More information about the Ocfs2-tools-devel
mailing list