libceph, ceph: add __init attribution to init funcitons
authorChengguang Xu <cgxu519@gmx.com>
Sat, 10 Mar 2018 12:32:05 +0000 (20:32 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 2 Apr 2018 08:12:48 +0000 (10:12 +0200)
commit57a35dfb522c8bbac622d49f5217906f9b5eceb0
tree8c302951e78d39790a7417cebcc5f27ba10f25a6
parent51b10f3fe446f536b6edf90ce6941882033dd93b
libceph, ceph: add __init attribution to init funcitons

Add __init attribution to the functions which are called only once
during initiating/registering operations and deleting unnecessary
symbol exports.

Signed-off-by: Chengguang Xu <cgxu519@gmx.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/cache.c
net/ceph/crypto.c
net/ceph/debugfs.c
net/ceph/messenger.c
net/ceph/osd_client.c