From: Jan Harkes Date: Thu, 19 Jul 2007 08:48:41 +0000 (-0700) Subject: coda: do not grab an uninitialized fd when the open upcall returns an error X-Git-Tag: v2.6.23-rc1~387 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38c2e4370da495813ca93d7cad31ed5090e8c310;p=pandora-kernel.git coda: do not grab an uninitialized fd when the open upcall returns an error When open fails the fd in the response is uninitialized and we ended up taking a reference on the file struct and never released it. Signed-off-by: Jan Harkes Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed