diff options
author | Jeff Layton <jlayton@redhat.com> | 2017-01-12 14:42:40 -0500 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2017-02-20 12:16:07 +0100 |
commit | 24c149ad6914d349d8b64749f20f3f8ea5031fe0 (patch) | |
tree | 5d645524edccded2a08a6959e55e3deba1606c97 /net/ipv4/Makefile | |
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>
Diffstat (limited to 'net/ipv4/Makefile')
0 files changed, 0 insertions, 0 deletions