diff options
author | Amy Griffis <amy.griffis@hp.com> | 2006-05-21 02:00:07 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-05-21 23:59:18 +0400 |
commit | d66fd908acc8ba88541ecc570d89b0243f947c5e (patch) | |
tree | 4367428c092231981230975b37cd1fbff3ec3155 /fs/smbfs/inode.c | |
parent | 66055a4e7334b05354c835123ff621c5f700e56a (diff) | |
download | linux-d66fd908acc8ba88541ecc570d89b0243f947c5e.tar.xz |
[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>
Diffstat (limited to 'fs/smbfs/inode.c')
0 files changed, 0 insertions, 0 deletions