]> git.baikalelectronics.ru Git - kernel.git/commit
fat: add ratelimit to fat*_ent_bread()
authorOGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Fri, 29 Apr 2022 21:38:02 +0000 (14:38 -0700)
committerakpm <akpm@linux-foundation.org>
Fri, 29 Apr 2022 21:38:02 +0000 (14:38 -0700)
commit2ca9c93cddf46e495739d388e229a5ba9b892349
tree93a829d79061294f22027f2fceed4e9929746b72
parenta7c8cf907582c16ad20093baedf573320e957349
fat: add ratelimit to fat*_ent_bread()

fat*_ent_bread() can be the cause of too many report on I/O error path.
So use fat_msg_ratelimit() instead.

Link: https://lkml.kernel.org/r/87bkxogfeq.fsf@mail.parknet.co.jp
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Reported-by: qianfan <qianfanguijin@163.com>
Tested-by: qianfan <qianfanguijin@163.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/fat/fatent.c