From: Denis Kirjanov Date: Tue, 1 Jun 2010 16:15:39 +0000 (+0100) Subject: AFS: Fix possible null pointer dereference in afs_alloc_server() X-Git-Tag: v2.6.35-rc2~59 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=037776fcbe73236408f6c9ca97c782457efd6b53;p=pandora-kernel.git AFS: Fix possible null pointer dereference in afs_alloc_server() Fix a possible null pointer dereference in afs_alloc_server(): the server pointer is NULL if there was an allocation failure, and under such a condition, we can't dereference it in the _leave() statement. Signed-off-by: Denis Kirjanov Signed-off-by: David Howells Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed