]> 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)
commit840be7d272d742fb09592e26d3c5341f580f7e46
tree93a829d79061294f22027f2fceed4e9929746b72
parent7d6051fda05052ed7fdabac28c2df280c8a90841
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