From: Anand V. Avati Date: Thu, 22 Oct 2009 13:24:52 +0000 (-0700) Subject: fuse: prevent fuse_put_request on invalid pointer X-Git-Tag: v2.6.27.40~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c2d3f19ba21524e0445a2e217e852bc4010d9b3;p=pandora-kernel.git fuse: prevent fuse_put_request on invalid pointer commit f60311d5f7670d9539b424e4ed8b5c0872fc9e83 upstream. fuse_direct_io() has a loop where requests are allocated in each iteration. if allocation fails, the loop is broken out and follows into an unconditional fuse_put_request() on that invalid pointer. Signed-off-by: Anand V. Avati Signed-off-by: Miklos Szeredi Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed