Yadan Fan
1ee9f4bd1a
Fix cifs_uniqueid_to_ino_t() function for s390x
...
This issue is caused by commit 02323db17e3a7 ("cifs: fix
cifs_uniqueid_to_ino_t not to ever return 0"), when BITS_PER_LONG
is 64 on s390x, the corresponding cifs_uniqueid_to_ino_t()
function will cast 64-bit fileid to 32-bit by using (ino_t)fileid,
because ino_t (typdefed __kernel_ino_t) is int type.
It's defined in arch/s390/include/uapi/asm/posix_types.h
#ifndef __s390x__
typedef unsigned long __kernel_ino_t;
...
#else /* __s390x__ */
typedef unsigned int __kernel_ino_t;
So the #ifdef condition is wrong for s390x, we can just still use
one cifs_uniqueid_to_ino_t() function with comparing sizeof(ino_t)
and sizeof(u64) to choose the correct execution accordingly.
Signed-off-by: Yadan Fan <ydfan@suse.com>
CC: stable <stable@vger.kernel.org>
Signed-off-by: Steve French <smfrench@gmail.com>
2016-02-29 00:46:55 -06:00
..
2016-01-22 18:04:28 -05:00
2016-01-20 17:09:18 -08:00
2016-02-20 00:15:51 -05:00
2016-01-22 18:04:28 -05:00
2015-12-30 13:01:03 -05:00
2016-01-14 16:00:49 -08:00
2016-01-14 16:00:49 -08:00
2016-02-19 13:40:42 -08:00
2016-01-22 18:04:28 -05:00
2016-02-04 18:25:15 +01:00
2016-02-29 00:46:55 -06:00
2016-01-23 12:24:56 -08:00
2016-01-22 18:04:28 -05:00
2015-12-08 22:41:36 -05:00
2016-01-22 18:04:28 -05:00
2016-02-06 23:45:46 -08:00
2016-01-21 17:45:15 -05:00
2016-01-22 18:04:28 -05:00
2016-02-10 16:25:52 +00:00
2016-01-14 16:00:49 -08:00
2016-01-22 18:04:28 -05:00
2016-01-22 18:04:28 -05:00
2016-02-27 12:46:16 -08:00
2016-02-27 12:46:16 -08:00
2016-01-22 18:04:28 -05:00
2016-01-22 18:04:28 -05:00
2015-12-08 22:41:36 -05:00
2015-11-11 02:11:02 -05:00
2016-01-22 18:04:28 -05:00
2016-01-22 18:04:28 -05:00
2016-01-22 18:04:28 -05:00
2016-01-22 18:04:28 -05:00
2016-01-22 18:04:28 -05:00
2016-02-27 19:15:51 -05:00
2016-01-22 18:04:28 -05:00
2016-01-14 16:00:49 -08:00
2016-01-06 13:03:18 -05:00
2016-01-23 12:24:56 -08:00
2016-01-22 18:04:28 -05:00
2016-01-22 18:04:28 -05:00
2016-01-07 10:10:50 -05:00
2016-01-22 18:04:28 -05:00
2016-01-14 16:00:49 -08:00
2016-01-22 18:04:28 -05:00
2016-02-22 17:46:34 -05:00
2016-01-22 18:04:28 -05:00
2016-01-22 18:04:28 -05:00
2016-02-18 16:23:24 -08:00
2016-01-22 18:04:28 -05:00
2016-02-27 10:28:52 -08:00
2016-01-14 16:00:49 -08:00
2016-01-22 18:04:28 -05:00
2016-02-03 08:28:43 -08:00
2016-01-22 18:04:28 -05:00
2016-01-14 16:00:49 -08:00
2016-01-14 16:00:49 -08:00
2016-01-22 18:04:28 -05:00
2015-12-08 22:41:36 -05:00
2016-01-22 18:04:28 -05:00
2016-01-14 16:00:49 -08:00
2016-01-14 16:00:49 -08:00
2015-11-13 21:53:18 -08:00
2016-01-14 16:00:49 -08:00
2016-01-22 18:04:28 -05:00
2016-01-22 18:04:28 -05:00
2016-01-23 12:24:56 -08:00
2016-01-14 16:00:49 -08:00
2016-02-27 10:28:52 -08:00
2016-01-22 18:04:28 -05:00
2015-12-06 21:17:14 -05:00
2015-11-10 12:07:22 -08:00
2016-02-27 10:28:52 -08:00
2016-01-22 18:04:28 -05:00
2016-02-27 10:28:52 -08:00
2016-01-06 13:03:18 -05:00
2016-01-27 10:48:26 -05:00
2016-01-04 10:28:32 -05:00
2016-01-20 17:09:18 -08:00
2016-02-27 10:28:52 -08:00
2016-01-22 18:04:28 -05:00
2016-01-30 22:02:10 -07:00
2015-12-08 14:52:03 +01:00
2016-02-05 18:10:40 -08:00
2016-01-22 18:04:28 -05:00
2016-01-09 02:55:37 -05:00
2016-01-14 16:00:49 -08:00
2016-01-19 12:02:23 -05:00
2016-02-16 11:34:07 -07:00
2016-02-16 14:57:21 -07:00
2016-01-08 21:20:11 -05:00
2016-01-22 18:04:28 -05:00
2016-01-15 17:56:32 -08:00
2016-01-22 18:04:28 -05:00
2016-01-22 18:04:28 -05:00
2015-11-06 17:50:42 -08:00
2016-02-27 19:37:37 -05:00
2016-01-22 18:04:28 -05:00
2016-01-22 18:04:28 -05:00
2016-01-19 19:25:21 -05:00
2016-02-20 00:15:52 -05:00
2015-12-13 19:46:12 -05:00
2015-12-06 21:17:16 -05:00
2016-02-27 19:15:51 -05:00
2016-01-22 18:04:28 -05:00
2016-01-06 08:26:52 -05:00
2015-11-06 17:50:42 -08:00
2016-01-09 02:55:35 -05:00
2016-01-16 11:17:23 -08:00
2016-01-14 17:04:19 -08:00
2015-11-06 17:50:42 -08:00
2016-01-17 11:13:55 +01:00
2016-01-22 18:04:28 -05:00
2016-02-20 00:15:51 -05:00