Release 4.11 fs/ceph/ceph_frag.c
/*
* Ceph 'frag' type
*/
#include <linux/module.h>
#include <linux/ceph/types.h>
int ceph_frag_compare(__u32 a, __u32 b)
{
unsigned va = ceph_frag_value(a);
unsigned vb = ceph_frag_value(b);
if (va < vb)
return -1;
if (va > vb)
return 1;
va = ceph_frag_bits(a);
vb = ceph_frag_bits(b);
if (va < vb)
return -1;
if (va > vb)
return 1;
return 0;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Sage Weil | 82 | 100.00% | 1 | 100.00% |
Total | 82 | 100.00% | 1 | 100.00% |
Overall Contributors
Person | Tokens | Prop | Commits | CommitProp |
Sage Weil | 85 | 95.51% | 1 | 50.00% |
Yehuda Sadeh Weinraub | 4 | 4.49% | 1 | 50.00% |
Total | 89 | 100.00% | 2 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.