libceph: wrap auth ops in wrapper functions
authorSage Weil <sage@inktank.com>
Mon, 25 Mar 2013 17:26:14 +0000 (10:26 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Jun 2013 18:58:47 +0000 (11:58 -0700)
commitaa80dd9dbe86743ae6e52c836f6ab1472c469927
tree1b5a77428bc53dd4cf0988c6328bbea34adaee1f
parent29c65a277a64645af853e8c9a9b3dda0ddc421e0
libceph: wrap auth ops in wrapper functions

commit 27859f9773e4a0b2042435b13400ee2c891a61f4 upstream.

Use wrapper functions that check whether the auth op exists so that callers
do not need a bunch of conditional checks.  Simplifies the external
interface.

Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Alex Elder <elder@inktank.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/ceph/mds_client.c
include/linux/ceph/auth.h
net/ceph/auth.c
net/ceph/auth_x.c
net/ceph/mon_client.c
net/ceph/osd_client.c