libceph: wrap auth ops in wrapper functions
authorSage Weil <sage@inktank.com>
Mon, 25 Mar 2013 17:26:14 +0000 (10:26 -0700)
committerSage Weil <sage@inktank.com>
Thu, 2 May 2013 04:17:14 +0000 (21:17 -0700)
commit27859f9773e4a0b2042435b13400ee2c891a61f4
tree28b8e7133959c88f4de89cc98eee2016874b1ca6
parent0bed9b5c523d577378b6f83eab5835fe30c27208
libceph: wrap auth ops in wrapper functions

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>
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