Files
linux/mm
Wu Fengguang a54573d774 readahead: fix NULL filp dereference
commit 70655c06bd upstream.

btrfs relocate_file_extent_cluster() calls us with NULL filp:

  [ 4005.426805] BUG: unable to handle kernel NULL pointer dereference at 00000021
  [ 4005.426818] IP: [<c109a130>] page_cache_sync_readahead+0x18/0x3e

Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Cc: Yan Zheng <yanzheng@21cn.com>
Reported-by: Kirill A. Shutemov <kirill@shutemov.name>
Tested-by: Kirill A. Shutemov <kirill@shutemov.name>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-04-26 07:41:19 -07:00
..
2010-01-06 15:05:22 -08:00
2010-01-06 15:05:22 -08:00
2009-12-18 14:05:51 -08:00
2010-04-01 15:58:27 -07:00
2009-09-22 07:17:35 -07:00
2010-01-06 15:05:22 -08:00
2010-01-18 10:19:11 -08:00
2010-01-18 10:19:11 -08:00
2009-10-01 16:11:12 -07:00
2010-01-22 15:18:41 -08:00
2010-01-18 10:19:11 -08:00
2009-09-22 07:17:29 -07:00