Thread (4 messages) 4 messages, 4 authors, 2007-08-13

Re: [PATCH] ext3: fix ext34_fill_super group description initialization

From: Aneesh Kumar K.V <hidden>
Date: 2007-08-13 13:28:50
Also in: lkml


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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help