]> err.no Git - linux-2.6/commit
[PATCH] Fix sg_page_malloc() memset
authorHugh Dickins <hugh@veritas.com>
Mon, 9 Jan 2006 20:46:49 +0000 (20:46 +0000)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 9 Jan 2006 20:57:05 +0000 (12:57 -0800)
commit41ed16fa47350661da01443b8241bf6ca8080fd7
treee12d199c8e63f9f296f73336471038fcbcf22bf3
parent6150c32589d1976ca8a5c987df951088c05a7542
[PATCH] Fix sg_page_malloc() memset

sg_page_malloc should clear the data buffer, not that extent of mem_map.

This fixes Jesper's sg_page_free "Bad page states"

Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/scsi/sg.c