diff options
| author | Jeff Layton <[email protected]> | 2017-01-12 14:42:40 -0500 |
|---|---|---|
| committer | Ilya Dryomov <[email protected]> | 2017-02-20 12:16:07 +0100 |
| commit | 24c149ad6914d349d8b64749f20f3f8ea5031fe0 (patch) | |
| tree | 5d645524edccded2a08a6959e55e3deba1606c97 /lib/mpi/mpi-cmp.c | |
| parent | 7fea24c6d4a553c59937ae4fef95c730a88125cb (diff) | |
ceph: fix bogus endianness change in ceph_ioctl_set_layout
sparse says:
fs/ceph/ioctl.c:100:28: warning: cast to restricted __le64
preferred_osd is a __s64 so we don't need to do any conversion. Also,
just remove the cast in ceph_ioctl_get_layout as it's not needed.
Signed-off-by: Jeff Layton <[email protected]>
Reviewed-by: Sage Weil <[email protected]>
Signed-off-by: Ilya Dryomov <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions