error_type = "I/O";
break;
}
-#if 0
-#if defined(CONFIG_SDMMC_RK29) && !defined(CONFIG_SDMMC_RK29_OLD) //Modifyed by xbw at 2011-21-14
- printk(KERN_DEBUG "end_request: %s error, dev %s, sector %llu\n",
- error_type, req->rq_disk ? req->rq_disk->disk_name : "?",
- (unsigned long long)blk_rq_pos(req));
-
-#else
- printk(KERN_ERR "end_request: %s error, dev %s, sector %llu\n",
+ printk(KERN_DEBUG "end_request: %s error, dev %s, sector %llu\n",
error_type, req->rq_disk ? req->rq_disk->disk_name : "?",
(unsigned long long)blk_rq_pos(req));
-#endif
-#endif
}
blk_account_io_completion(req, nr_bytes);
*/
void fat_msg(struct super_block *sb, const char *level, const char *fmt, ...)
{
- #if 0
struct va_format vaf;
va_list args;
vaf.va = &args;
printk("%sFAT-fs (%s): %pV\n", level, sb->s_id, &vaf);
va_end(args);
- #endif
}
/* Flushes the number of free clusters on FAT32 */