[PATCH][BUGFIX] readahead: fix NULL filp dereference

2010-04-02 Thread Wu Fengguang
The btrfs relocate_file_extent_cluster() calls us with NULL filp: [ 4005.426805] BUG: unable to handle kernel NULL pointer dereference at 0021 [ 4005.426818] IP: [c109a130] page_cache_sync_readahead+0x18/0x3e CC: Yan Zheng yanzh...@21cn.com Reported-by: Kirill A. Shutemov

Re: [PATCH][BUGFIX] readahead: fix NULL filp dereference

2010-04-02 Thread Kirill A. Shutemov
On Fri, Apr 2, 2010 at 10:27 AM, Wu Fengguang fengguang...@intel.com wrote: The btrfs relocate_file_extent_cluster() calls us with NULL filp:  [ 4005.426805] BUG: unable to handle kernel NULL pointer dereference at 0021  [ 4005.426818] IP: [c109a130] page_cache_sync_readahead+0x18/0x3e