• Subhash Jadavani's avatar
    fs: fat: rate limit the kernel messages · f7ba1eb0
    Subhash Jadavani authored
    
    
    If FAT formatted SD card gets removed without unmounting,
    FAT file system may throw many kernel error messages which
    could too much traffic for console driver and can sometimes
    even cause the system to trigger watchdog timeout.
    
    This patch converts the printk to printk_ratelimited to rate
    limit the error messages from FAT fs.
    
    Change-Id: I58b942f6714a8d3353478eb21139b8046ee3f875
    Signed-off-by: default avatarSubhash Jadavani <subhashj@codeaurora.org>
    (cherry picked from commit a872b71069d717ced1a2de642afa0693d1bb9448)
    f7ba1eb0
misc.c 7.6 KB