Skip to content
Commit cf437426 authored by Eric Paris's avatar Eric Paris
Browse files

inotify: do not BUG on idr entries at inotify destruction



If an inotify watch is left in the idr when an fsnotify group is destroyed
this will lead to a BUG.  This is not a dangerous situation and really
indicates a programming bug and leak of memory.  This patch changes it to
use a WARN and a printk rather than killing people's boxes.

Signed-off-by: default avatarEric Paris <eparis@redhat.com>
parent 52cef755
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment