From: Li Zefan Date: Thu, 9 Apr 2009 03:19:40 +0000 (+0800) Subject: blktrace: pass the right pointer to kfree() X-Git-Tag: v2.6.30-rc2~100^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9eb85125ce218a8b8d9a7c982510388e227adbec;p=pandora-kernel.git blktrace: pass the right pointer to kfree() Impact: fix kfree crash with non-standard act_mask string If passing a string with leading white spaces to strstrip(), the returned ptr != the original ptr. This bug was introduced by me. Signed-off-by: Li Zefan Cc: Jens Axboe Cc: Arnaldo Carvalho de Melo LKML-Reference: <49DD694C.8020902@cn.fujitsu.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed