diff options
author | Sage Weil <sage@newdream.net> | 2010-02-02 19:11:19 -0500 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2010-02-10 18:04:39 -0500 |
commit | c7e337d6490d6f2f5e66ddf1b04d00b0dbd10108 (patch) | |
tree | 3a2e12219e38e807c71d8b2c30b89e7efbe82bdd /fs/ceph/buffer.h | |
parent | 79788c698b290426320e60374ed1324e4b5c69eb (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.h | 2 |
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 | ||
37 | extern int ceph_decode_buffer(struct ceph_buffer **b, void **p, void *end); | ||
38 | |||
37 | #endif | 39 | #endif |