commit | 24c149ad6914d349d8b64749f20f3f8ea5031fe0 | [log] [tgz] |
---|---|---|
author | Jeff Layton <jlayton@redhat.com> | Thu Jan 12 14:42:40 2017 -0500 |
committer | Ilya Dryomov <idryomov@gmail.com> | Mon Feb 20 12:16:07 2017 +0100 |
tree | 5d645524edccded2a08a6959e55e3deba1606c97 | |
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 <jlayton@redhat.com> Reviewed-by: Sage Weil <sage@redhat.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>