ceph: fix get_ticket_handler() error handling
authorDan Carpenter <error27@gmail.com>
Thu, 26 Aug 2010 09:12:38 +0000 (11:12 +0200)
committerSage Weil <sage@newdream.net>
Thu, 26 Aug 2010 16:26:50 +0000 (09:26 -0700)
commitb545787dbb00a041c541a4759d938ddb0108295a
tree7d64ee98012ee45726b79a32ed815e06c83c4ef9
parente072f8aa3587710cd35cce0f6b6efd7b4276c327
ceph: fix get_ticket_handler() error handling

get_ticket_handler() returns a valid pointer or it returns
ERR_PTR(-ENOMEM) if kzalloc() fails.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/auth_x.c