于 2012年12月31日 20:06, Jan Kara 写道: > Thanks for report. Yes, memory leak seems to be possible. Attached patch > should fix it, I have added it to my tree. > > Honza > after read your patch, today (although I am not a reviewer). is it a possible situation like this (just my imagination): 1st let it call clear_qf_name successfully. 2nd let it call set_qf_name successfully. 3rd call clear_qf_name again ? ... if this situation is possible. I guess the memory still leak, after apply your patch. if what I guess is true it seems we have to duplicate memory for old_opts in ext3_remount. and for clear_qf_name, set_qf_name, ext3_remount: use normal memory allocation and free ways instead of current using. Regards -- Chen Gang Asianux Corporation -- 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