summaryrefslogtreecommitdiffstats
path: root/fs/notify/inotify/inotify_user.c
diff options
context:
space:
mode:
authorEric Paris <eparis@redhat.com>2009-08-24 22:03:35 +0200
committerEric Paris <eparis@redhat.com>2009-08-27 14:02:04 +0200
commitcf4374267fbe966e8e4e7db68f5dc7b267439780 (patch)
tree60871fa44df49a8581e2afb06f493e768a058b86 /fs/notify/inotify/inotify_user.c
parentinotify: seperate new watch creation updating existing watches (diff)
downloadlinux-cf4374267fbe966e8e4e7db68f5dc7b267439780.tar.xz
linux-cf4374267fbe966e8e4e7db68f5dc7b267439780.zip
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: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'fs/notify/inotify/inotify_user.c')
0 files changed, 0 insertions, 0 deletions