[Ocfs2-tools-devel] a path for fsck.ocfs2 of ocfs2-tools

tao.ma tao.ma at oracle.com
Mon Sep 4 23:49:23 PDT 2006


In fsck.ocfs2, when check_chain find that a chain's total bits or free
bits are
incompatible with the actual number, it should set the right number
and then
notify the calling function(verify_chain_alloc) by "chain_changed". So
verify_chain_alloc will write the inode when it finishes the check. But
the function
check_chain happen to set the wrong variable "changed".
Here is the patch.



-- 
* **     Tao Ma
*     Member of Techincal Staff *

Oracle Asia Development Center
Emerging Technology & Solution Development
*
Tel:        +86 10 8278 6026
Mobile:   +86 13701237602
URL:       OADC Intranet <http://cdc.oraclecorp.com/>, Oracle.com/cdc
<http://www.oracle.com/cdc/>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: check_chain.patch
Type: text/x-patch
Size: 611 bytes
Desc: not available
Url : http://oss.oracle.com/pipermail/ocfs2-tools-devel/attachments/20060905/db72183f/check_chain.bin


More information about the Ocfs2-tools-devel mailing list