Hi Tao, On Thu, Dec 6, 2012 at 9:54 AM, Tao Ma <tm@xxxxxx> wrote: > On 12/05/2012 11:05 PM, Theodore Ts'o wrote: >> On Wed, Dec 05, 2012 at 09:58:17PM +0800, Tao Ma wrote: >>> Are you sure the disk is good? I just checked the code in e2fsprogs, it >>> seems that it will not complain if rec_len = 0, and the dir iteration >>> just aborts. >> >> Um, where are you seeing this? It should be complaining that the >> directory entry is corrupt if rec_len < 12. I believe I see the >> checks there, but I haven't tried creating some test file systems to >> be sure. > Oh, sorry my fault. Yes, I see a final com_err in the end of do_list_dir > in debugfs. So we should complain about the dir corruption. I have already also checked the raw binary of the dir block in the disk and the data is correct. So disk no issue, only data in mem is corrupted. > Thanks > Tao -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html