inotify:change log level in case of flood the screen
Signed-off-by: guohao15 <guohao15@xiaomi.com>
This commit is contained in:
parent
a40a8e17fb
commit
74963deceb
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue