mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
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>
This commit is contained in:
parent
ed0811d2d2
commit
08c1ac508b
7 changed files with 43 additions and 44 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue