Jeff Layton
62c3d36309
ceph: fix bad endianness handling in parse_reply_info_extra
...
commit 6df8c9d80a27cb587f61b4f06b57e248d8bc3f86 upstream.
sparse says:
fs/ceph/mds_client.c:291:23: warning: restricted __le32 degrades to integer
fs/ceph/mds_client.c:293:28: warning: restricted __le32 degrades to integer
fs/ceph/mds_client.c:294:28: warning: restricted __le32 degrades to integer
fs/ceph/mds_client.c:296:28: warning: restricted __le32 degrades to integer
The op value is __le32, so we need to convert it before comparing it.
Signed-off-by: Jeff Layton <jlayton@redhat.com >
Reviewed-by: Sage Weil <sage@redhat.com >
Signed-off-by: Ilya Dryomov <idryomov@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2017-01-26 08:23:49 +01:00
..
2016-10-31 04:13:58 -06:00
2016-06-07 18:14:32 -07:00
2016-09-30 10:18:37 +02:00
2017-01-19 20:17:21 +01:00
2015-11-16 20:38:43 -05:00
2017-01-26 08:23:49 +01:00
2017-01-06 11:16:16 +01:00
2015-11-20 16:17:32 -08:00
2016-05-04 14:48:41 -07:00
2016-08-16 09:30:49 +02:00
2016-10-22 12:26:56 +02:00
2016-09-15 08:27:47 +02:00
2016-03-03 15:07:09 -08:00
2015-12-12 10:15:34 -08:00
2016-10-31 04:13:58 -06:00
2017-01-06 11:16:13 +01:00
2017-01-06 11:16:13 +01:00
2015-11-20 16:17:32 -08:00
2015-11-11 02:11:02 -05:00
2017-01-26 08:23:48 +01:00
2016-10-31 04:13:58 -06:00
2016-10-31 04:13:58 -06:00
2016-09-30 10:18:39 +02:00
2016-06-01 12:15:54 -07:00
2016-02-25 12:01:22 -08:00
2016-10-28 03:01:34 -04:00
2016-10-28 03:01:35 -04:00
2016-10-31 04:13:58 -06:00
2016-10-31 04:13:58 -06:00
2016-09-24 10:07:36 +02:00
2015-11-11 20:11:28 -08:00
2015-11-06 17:50:42 -08:00
2016-03-16 08:42:59 -07:00
2017-01-19 20:17:22 +01:00
2016-09-24 10:07:36 +02:00
2016-08-10 11:49:25 +02:00
2016-09-30 10:18:37 +02:00
2015-11-06 17:50:42 -08:00
2017-01-19 20:17:19 +01:00
2016-11-10 16:36:34 +01:00
2017-01-19 20:17:21 +01:00
2016-10-28 03:01:27 -04:00
2016-04-12 09:08:56 -07:00
2016-10-31 04:13:58 -06:00
2015-11-13 20:34:33 -05:00
2016-09-07 08:32:46 +02:00
2015-11-23 21:11:08 -05:00
2015-11-04 22:13:45 -05:00
2017-01-26 08:23:48 +01:00
2016-02-25 12:01:18 -08:00
2017-01-06 11:16:17 +01:00
2016-10-07 15:23:47 +02:00
2016-10-22 12:26:56 +02:00
2015-11-10 12:07:22 -08:00
2015-11-11 09:45:24 -08:00
2017-01-09 08:07:47 +01:00
2015-11-11 02:19:33 -05:00
2015-10-23 23:26:43 +02:00
2016-11-18 10:48:34 +01:00
2015-11-16 23:54:45 -08:00
2017-01-19 20:17:21 +01:00
2016-03-03 15:07:28 -08:00
2017-01-06 11:16:14 +01:00
2016-04-12 09:08:58 -07:00
2015-11-05 23:05:32 -08:00
2016-04-12 09:09:04 -07:00
2016-08-10 11:49:30 +02:00
2015-11-16 23:54:45 -08:00
2016-08-10 11:49:27 +02:00
2015-11-06 17:50:42 -08:00
2016-09-15 08:27:49 +02:00
2017-01-19 20:17:21 +01:00
2016-05-18 17:06:48 -07:00
2016-06-07 18:14:35 -07:00
2016-05-11 11:21:19 +02:00
2017-01-26 08:23:47 +01:00
2016-04-12 09:08:55 -07:00
2016-09-07 08:32:43 +02:00
2016-04-12 09:08:55 -07:00
2015-11-09 15:11:24 -08:00
2016-10-28 03:01:32 -04:00
2015-11-06 17:50:42 -08:00
2016-02-25 12:01:25 -08:00
2016-03-16 08:43:01 -07:00
2016-10-22 12:26:56 +02:00
2015-11-13 20:34:33 -05:00