diff options
author | Wu Fengguang <fengguang.wu@intel.com> | 2010-04-06 23:34:53 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-04-07 17:38:03 +0200 |
commit | 70655c06bd3f25111312d63985888112aed15ac5 (patch) | |
tree | e6db465a10b6ece8f50fbcfce97404f03044e248 /drivers/char | |
parent | device_attributes: add sysfs_attr_init() for dynamic attributes (diff) | |
download | linux-70655c06bd3f25111312d63985888112aed15ac5.tar.xz linux-70655c06bd3f25111312d63985888112aed15ac5.zip |
readahead: fix NULL filp dereference
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>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char')
0 files changed, 0 insertions, 0 deletions