]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd: Clean up endian handling
authorUlrich Weigand <ulrich.weigand@de.ibm.com>
Mon, 16 Sep 2019 15:21:01 +0000 (17:21 +0200)
committerUlrich Weigand <ulrich.weigand@de.ibm.com>
Wed, 18 Sep 2019 11:33:59 +0000 (13:33 +0200)
commit36e8cd7ac6f6422d2972f152ef5a96f875365790
tree20cab58a6060a4c27fca4d1c117df7b2db7a003c
parentbb9eb83b20f36ee3317dd0b49e623daa6342d87a
osd: Clean up endian handling

Replace remaining uses of __le16/__le32/__le64 in contexts that are
not relevant to code generation, or where objects are only used locally
and do not require endian swaps.

Also, remove unnecessary calls to le16/32/64_to_cpu.

This change is a no-op on all architectures.

Signed-off-by: Ulrich Weigand <ulrich.weigand@de.ibm.com>
src/osd/PrimaryLogPG.cc
src/osd/mClockOpClassSupport.cc