[Ocfs2-tools-devel] A patch of fsck.ocfs2 of ocfs2-tools, add file type when create dotdot.

Sunil Mushran Sunil.Mushran at oracle.com
Thu Oct 19 11:55:33 PDT 2006


That looks reasonable.
zab?

tao.ma wrote:
> A minor patch for the recovery of dot and dotdot in the directory.
>
> when fsck.ocfs2 finds some error and  wants to add a new dot or dotdot 
> to the directory, it only set the file name and len. So if the inode 
> is equal to 0 and file type equals to OCFS2_FT_UNKNOWN, the right type 
> will not set by fix_dirent_filetype. And the user must run fsck.ocfs2 
> again to set the right file type.
> Actually I meet this problem when I create the error DIR_DOT_EXCESS by 
> fswreck.
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Ocfs2-tools-devel mailing list
> Ocfs2-tools-devel at oss.oracle.com
> http://oss.oracle.com/mailman/listinfo/ocfs2-tools-devel
>   



More information about the Ocfs2-tools-devel mailing list