aboutsummaryrefslogtreecommitdiffstats
path: root/net/ceph
diff options
context:
space:
mode:
Diffstat (limited to 'net/ceph')
-rw-r--r--net/ceph/messenger.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/ceph/messenger.c b/net/ceph/messenger.c
index a6fda9532102..994192beda02 100644
--- a/net/ceph/messenger.c
+++ b/net/ceph/messenger.c
@@ -817,7 +817,7 @@ static bool ceph_msg_data_bio_advance(struct ceph_msg_data *data, size_t bytes)
817 817
818 return true; 818 return true;
819} 819}
820#endif 820#endif /* CONFIG_BLOCK */
821 821
822/* 822/*
823 * For a page array, a piece comes from the first page in the array 823 * For a page array, a piece comes from the first page in the array
@@ -3011,6 +3011,7 @@ void ceph_msg_data_set_pagelist(struct ceph_msg *msg,
3011} 3011}
3012EXPORT_SYMBOL(ceph_msg_data_set_pagelist); 3012EXPORT_SYMBOL(ceph_msg_data_set_pagelist);
3013 3013
3014#ifdef CONFIG_BLOCK
3014void ceph_msg_data_set_bio(struct ceph_msg *msg, struct bio *bio, 3015void ceph_msg_data_set_bio(struct ceph_msg *msg, struct bio *bio,
3015 size_t length) 3016 size_t length)
3016{ 3017{
@@ -3028,6 +3029,7 @@ void ceph_msg_data_set_bio(struct ceph_msg *msg, struct bio *bio,
3028 msg->data_length = length; 3029 msg->data_length = length;
3029} 3030}
3030EXPORT_SYMBOL(ceph_msg_data_set_bio); 3031EXPORT_SYMBOL(ceph_msg_data_set_bio);
3032#endif /* CONFIG_BLOCK */
3031 3033
3032/* 3034/*
3033 * construct a new message with given type, size 3035 * construct a new message with given type, size