diff options
author | Alex Elder <elder@inktank.com> | 2013-02-15 12:42:29 -0500 |
---|---|---|
committer | Alex Elder <elder@inktank.com> | 2013-02-18 13:19:48 -0500 |
commit | 60789380ae833061803030d51952a5a341e4dade (patch) | |
tree | 457a8dcaa26e84ca7872999427e403314a9e7ba8 /net/ceph | |
parent | f9d251994522fed06f47855b534f21c07ecf7181 (diff) |
libdeph: don't export ceph_osdc_init() or ceph_osdc_stop()
The only callers of ceph_osdc_init() and ceph_osdc_stop()
ceph_create_client() and ceph_destroy_client() (respectively)
and they are in the same kernel module as those two functions.
There's therefore no need to export those interfaces, so don't.
Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'net/ceph')
-rw-r--r-- | net/ceph/osd_client.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/ceph/osd_client.c b/net/ceph/osd_client.c index edda0704f5a7..0d67cd37173b 100644 --- a/net/ceph/osd_client.c +++ b/net/ceph/osd_client.c | |||
@@ -1799,7 +1799,6 @@ out_mempool: | |||
1799 | out: | 1799 | out: |
1800 | return err; | 1800 | return err; |
1801 | } | 1801 | } |
1802 | EXPORT_SYMBOL(ceph_osdc_init); | ||
1803 | 1802 | ||
1804 | void ceph_osdc_stop(struct ceph_osd_client *osdc) | 1803 | void ceph_osdc_stop(struct ceph_osd_client *osdc) |
1805 | { | 1804 | { |
@@ -1816,7 +1815,6 @@ void ceph_osdc_stop(struct ceph_osd_client *osdc) | |||
1816 | ceph_msgpool_destroy(&osdc->msgpool_op); | 1815 | ceph_msgpool_destroy(&osdc->msgpool_op); |
1817 | ceph_msgpool_destroy(&osdc->msgpool_op_reply); | 1816 | ceph_msgpool_destroy(&osdc->msgpool_op_reply); |
1818 | } | 1817 | } |
1819 | EXPORT_SYMBOL(ceph_osdc_stop); | ||
1820 | 1818 | ||
1821 | /* | 1819 | /* |
1822 | * Read some contiguous pages. If we cross a stripe boundary, shorten | 1820 | * Read some contiguous pages. If we cross a stripe boundary, shorten |