[PATCH] gss_spkm3: fix error handling in module init
authorAkinobu Mita <akinobu.mita@gmail.com>
Fri, 22 Dec 2006 09:10:09 +0000 (01:10 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Fri, 22 Dec 2006 16:55:49 +0000 (08:55 -0800)
commitfadfc8e930dcaf502b49a0a0170ba8ebe9a34c49
tree85d353684bd2890af12483cb20147b3c60294f25
parent3e1fbd12c958591695f89b11f9c6ec08d002e358
[PATCH] gss_spkm3: fix error handling in module init

Return error and prevent from loading module when gss_mech_register()
failed.

Cc: Andy Adamson <andros@citi.umich.edu>
Cc: J. Bruce Fields <bfields@citi.umich.edu>
Acked-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
net/sunrpc/auth_gss/gss_spkm3_mech.c