> ->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
>
> Signed-off-by: Dmitry Monakhov <[EMAIL PROTECTED]>
> ---
>
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
On 13:09 Mon 13 Aug , 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
OOPs i'm sorry.
->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
Signed-off-by: Dmitry Monakhov <[EMAIL PROTECTED]>
---
On 13:09 Mon 13 Aug , 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
OOPs i'm sorry. I've lost
-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
Signed-off-by: Dmitry Monakhov [EMAIL PROTECTED]
---
fs/ext3/super.c |
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
-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
Signed-off-by: Dmitry Monakhov [EMAIL PROTECTED]
---
fs/ext3/super.c
8 matches
Mail list logo