inotify:change log level in case of flood the screen

Signed-off-by: guohao15 <guohao15@xiaomi.com>
This commit is contained in:
guohao15 2023-11-06 20:31:11 +08:00 committed by Xiang Xiao
parent a40a8e17fb
commit 74963deceb
1 changed files with 2 additions and 2 deletions

View File

@ -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) if (dev->event_count > CONFIG_FSNOTIFY_MAX_EVENTS)
{ {
ferr("Too many events queued\n"); finfo("Too many events queued\n");
return; return;
} }
@ -891,7 +891,7 @@ static inline void notify_queue_filep_event(FAR struct file *filep,
ret = file_fcntl(filep, F_GETPATH, path); ret = file_fcntl(filep, F_GETPATH, path);
if (ret < 0) if (ret < 0)
{ {
ferr("Failed to get path\n"); finfo("Failed to get path\n");
return; return;
} }