fs: hfsplus: make extend error rate limited
authorColin Ian King <colin.i.king@gmail.com>
Wed, 19 Jul 2023 12:17:35 +0000 (13:17 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 18 Aug 2023 17:18:55 +0000 (10:18 -0700)
commitd9efb07dcb69a1e0428602597ececad34f3c717b
tree301f4ba7e922c49fb6f858b623c4b3f04546e575
parenta7284b0e75109040791338f807809ec14f096cc6
fs: hfsplus: make extend error rate limited

Extending a file where there is not enough free space can trigger frequent
extend alloc file error messages and this can easily spam the kernel log.
Make the error message rate limited.

Link: https://lkml.kernel.org/r/20230719121735.2831164-1-colin.i.king@gmail.com
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Cc: Christian Brauner <brauner@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/hfsplus/extents.c