aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ceph/buffer.h
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2010-02-02 19:11:19 -0500
committerSage Weil <sage@newdream.net>2010-02-10 18:04:39 -0500
commitc7e337d6490d6f2f5e66ddf1b04d00b0dbd10108 (patch)
tree3a2e12219e38e807c71d8b2c30b89e7efbe82bdd /fs/ceph/buffer.h
parent79788c698b290426320e60374ed1324e4b5c69eb (diff)
ceph: buffer decoding helpers
Helper for decoding into a ceph_buffer, and other misc decoding helpers we will need. Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net> Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/ceph/buffer.h')
-rw-r--r--fs/ceph/buffer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ceph/buffer.h b/fs/ceph/buffer.h
index 47b9514c5bbd..58d19014068f 100644
--- a/fs/ceph/buffer.h
+++ b/fs/ceph/buffer.h
@@ -34,4 +34,6 @@ static inline void ceph_buffer_put(struct ceph_buffer *b)
34 kref_put(&b->kref, ceph_buffer_release); 34 kref_put(&b->kref, ceph_buffer_release);
35} 35}
36 36
37extern int ceph_decode_buffer(struct ceph_buffer **b, void **p, void *end);
38
37#endif 39#endif