diff options
Diffstat (limited to 'fs/ceph/osdmap.c')
-rw-r--r-- | fs/ceph/osdmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ceph/osdmap.c b/fs/ceph/osdmap.c index 72d75a239ac2..60012e05bdfd 100644 --- a/fs/ceph/osdmap.c +++ b/fs/ceph/osdmap.c | |||
@@ -735,7 +735,7 @@ void ceph_calc_file_object_mapping(struct ceph_file_layout *layout, | |||
735 | 735 | ||
736 | dout("mapping %llu~%llu osize %u fl_su %u\n", off, *plen, | 736 | dout("mapping %llu~%llu osize %u fl_su %u\n", off, *plen, |
737 | osize, su); | 737 | osize, su); |
738 | su_per_object = osize / le32_to_cpu(layout->fl_stripe_unit); | 738 | su_per_object = osize / su; |
739 | dout("osize %u / su %u = su_per_object %u\n", osize, su, | 739 | dout("osize %u / su %u = su_per_object %u\n", osize, su, |
740 | su_per_object); | 740 | su_per_object); |
741 | 741 | ||