mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 21:25:19 -05:00
Fix yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24296 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
9631f815ac
commit
49592128b2
1 changed files with 1 additions and 4 deletions
|
|
@ -1573,11 +1573,8 @@ struct ftl_log_type* ftl_allocate_log_entry(uint32_t block)
|
||||||
entry = ftl_log;
|
entry = ftl_log;
|
||||||
while ((*entry).scatteredvblock != 0xFFFF) entry = &entry[1];
|
while ((*entry).scatteredvblock != 0xFFFF) entry = &entry[1];
|
||||||
(*entry).scatteredvblock = ftl_allocate_pool_block();
|
(*entry).scatteredvblock = ftl_allocate_pool_block();
|
||||||
if ((*entry).scatteredvblock == 0xFFFFFFFF)
|
if ((*entry).scatteredvblock == 0xFFFF)
|
||||||
{
|
|
||||||
(*entry).scatteredvblock = 0xFFFF;
|
|
||||||
return (struct ftl_log_type*)0;
|
return (struct ftl_log_type*)0;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ftl_init_log_entry(entry);
|
ftl_init_log_entry(entry);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue