From 74963decebd304d5c716a71d81b43d0d00658c7d Mon Sep 17 00:00:00 2001 From: guohao15 Date: Mon, 6 Nov 2023 20:31:11 +0800 Subject: [PATCH] inotify:change log level in case of flood the screen Signed-off-by: guohao15 --- fs/notify/inotify.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/notify/inotify.c b/fs/notify/inotify.c index 16708ddef6..c7012eb6e5 100644 --- a/fs/notify/inotify.c +++ b/fs/notify/inotify.c @@ -208,7 +208,7 @@ static void inotify_queue_event(FAR struct inotify_device_s *dev, int wd, if (dev->event_count > CONFIG_FSNOTIFY_MAX_EVENTS) { - ferr("Too many events queued\n"); + finfo("Too many events queued\n"); return; } @@ -891,7 +891,7 @@ static inline void notify_queue_filep_event(FAR struct file *filep, ret = file_fcntl(filep, F_GETPATH, path); if (ret < 0) { - ferr("Failed to get path\n"); + finfo("Failed to get path\n"); return; }