diff options
author | Ilya Dryomov <idryomov@gmail.com> | 2018-02-17 10:41:20 +0100 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2018-04-02 10:12:43 +0200 |
commit | 08c1ac508b6dc20ac866e7cdb7279245437c7d26 (patch) | |
tree | 5b1eee491292e772b446ceba9729fb6ba4d899f1 /include/linux/ceph/striper.h | |
parent | ed0811d2d243c4195580a9671266031907c02ca7 (diff) |
libceph, ceph: move ceph_calc_file_object_mapping() to striper.c
ceph_calc_file_object_mapping() has nothing to do with osdmaps.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'include/linux/ceph/striper.h')
-rw-r--r-- | include/linux/ceph/striper.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/ceph/striper.h b/include/linux/ceph/striper.h index 74134ee5fdc8..cbd0d24b7148 100644 --- a/include/linux/ceph/striper.h +++ b/include/linux/ceph/striper.h @@ -7,6 +7,10 @@ struct ceph_file_layout; +void ceph_calc_file_object_mapping(struct ceph_file_layout *l, + u64 off, u64 len, + u64 *objno, u64 *objoff, u32 *xlen); + struct ceph_object_extent { struct list_head oe_item; u64 oe_objno; |