alpha: osf_sys: reduce kernel log spamming on invalid osf_mount call typenr
authorColin Ian King <colin.i.king@gmail.com>
Mon, 13 Dec 2021 18:56:25 +0000 (18:56 +0000)
committerMatt Turner <mattst88@gmail.com>
Tue, 14 Feb 2023 17:36:10 +0000 (12:36 -0500)
commit019f48dc8eba723d2201679b804f4600e816604a
tree6a8f6c0118002f056ceb785cbfd8dabb3977226a
parentf6feea56f66d34259c4222fa02e8171c4f2673d1
alpha: osf_sys: reduce kernel log spamming on invalid osf_mount call typenr

Calling the osf_mount system call with an invalid typenr value will
spam the kernel log with error messages. Reduce the spamming by making
it a ratelimited printk.  Issue found when exercising with the stress-ng
enosys system call stressor.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Matt Turner <mattst88@gmail.com>
arch/alpha/kernel/osf_sys.c