Subversion Repositories freemyipod

Rev

Rev 201 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 201 Rev 206
Line 2159... Line 2159...
2159
{
2159
{
2160
    uint32_t i;
2160
    uint32_t i;
2161
    uint32_t rc = 0;
2161
    uint32_t rc = 0;
2162
    uint32_t ppb = ftl_nand_type->pagesperblock * ftl_banks;
2162
    uint32_t ppb = ftl_nand_type->pagesperblock * ftl_banks;
2163
 
2163
 
2164
    if (!ftl_initialized) return 1;
2164
    if (!ftl_initialized) return 0;
2165
 
2165
 
2166
    if (ftl_cxt.clean_flag == 1) return 0;
2166
    if (ftl_cxt.clean_flag == 1) return 0;
2167
 
2167
 
2168
    mutex_lock(&ftl_mtx, TIMEOUT_BLOCK);
2168
    mutex_lock(&ftl_mtx, TIMEOUT_BLOCK);
2169
    
2169