Denis Kirjanov 037776fcbe 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 <dkirjanov@kernel.org>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-06-01 09:26:36 -07:00
..
2008-04-29 08:06:26 -07:00
2007-07-16 09:05:43 -07:00
2007-07-16 09:05:43 -07:00
2009-04-03 16:42:41 +01:00
2010-05-21 18:31:28 -04:00
2010-05-21 18:31:28 -04:00
2009-09-22 07:17:25 -07:00
2009-04-03 16:42:41 +01:00
2009-04-03 16:42:41 +01:00
2009-04-03 16:42:41 +01:00
2009-04-09 10:41:19 -07:00
2009-09-23 07:39:29 -07:00
2010-03-22 09:57:19 -07:00
2010-04-22 11:58:18 +02:00
2010-05-27 22:05:02 -04:00