commit | c7e337d6490d6f2f5e66ddf1b04d00b0dbd10108 | [log] [tgz] |
---|---|---|
author | Sage Weil <sage@newdream.net> | Tue Feb 02 16:11:19 2010 -0800 |
committer | Sage Weil <sage@newdream.net> | Wed Feb 10 15:04:39 2010 -0800 |
tree | 3a2e12219e38e807c71d8b2c30b89e7efbe82bdd | |
parent | 79788c698b290426320e60374ed1324e4b5c69eb [diff] [blame] |
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>
diff --git a/fs/ceph/buffer.h b/fs/ceph/buffer.h index 47b9514..58d1901 100644 --- a/fs/ceph/buffer.h +++ b/fs/ceph/buffer.h
@@ -34,4 +34,6 @@ kref_put(&b->kref, ceph_buffer_release); } +extern int ceph_decode_buffer(struct ceph_buffer **b, void **p, void *end); + #endif