commit | d66fd908acc8ba88541ecc570d89b0243f947c5e | [log] [tgz] |
---|---|---|
author | Amy Griffis <amy.griffis@hp.com> | Sat May 20 15:00:07 2006 -0700 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Sun May 21 12:59:18 2006 -0700 |
tree | 4367428c092231981230975b37cd1fbff3ec3155 | |
parent | 66055a4e7334b05354c835123ff621c5f700e56a [diff] |
[PATCH] fix NULL dereference in inotify_ignore Don't reassign to watch. If idr_find() returns NULL, then put_inotify_watch() will choke. Signed-off-by: Amy Griffis <amy.griffis@hp.com> Cc: John McCutchan <john@johnmccutchan.com> Cc: Robert Love <rlove@rlove.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>