From: Anton Blanchard Date: Fri, 26 Oct 2007 12:00:14 +0000 (+0200) Subject: Initialise scatter/gather list in sg driver X-Git-Tag: v2.6.24-rc2~104^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30fa0d0f0c0ab2aa0d4c2f88eda49eaa19ea6f8d;p=pandora-kernel.git Initialise scatter/gather list in sg driver After turning on DEBUG_SG I hit a fail: kernel BUG at include/linux/scatterlist.h:50! sg_build_indirect sg_build_reserve sg_open chrdev_open __dentry_open do_filp_open do_sys_open We should initialise the sg list when we allocate it in sg_build_sgat. Signed-off-by: Anton Blanchard Signed-off-by: Jens Axboe --- Reading git-diff-tree failed