OpenVZ Forum


Home » Mailing lists » Devel » [PATCH] ext3: fix ext34_fill_super group description initialization
Re: [PATCH] ext3: fix ext34_fill_super group description initialization [message #15860 is a reply to message #15786] Mon, 13 August 2007 09:20 Go to previous messageGo to previous message
aneesh.kumar is currently offline  aneesh.kumar
Messages: 1
Registered: August 2007
Junior Member
Dmitry Monakhov wrote:
> ->s_group_desc have to be zero filled because if sb_read() failed
> we jump to following error path.
> failed_mount2:
> 	for (i = 0; i < db_count; i++)
> 		brelse(sbi->s_group_desc[i]);<< Bad things may happen here
> 


But the db_count is updated in the failure path to point to the number
of successful sb_read. 

-aneesh
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: [PATCH 3/20] Introduce MS_KERNMOUNT flag
Next Topic: [PATCH] Make access to task's nsproxy liter
Goto Forum:
  


Current Time: Mon Oct 07 11:01:49 GMT 2024

Total time taken to generate the page: 0.05248 seconds