Akinobu Mita
f7b88631a8
fs/libfs.c: fix simple_attr_write() on 32bit machines
...
Assume that /sys/kernel/debug/dummy64 is debugfs file created by
debugfs_create_x64().
# cd /sys/kernel/debug
# echo 0x1234567812345678 > dummy64
# cat dummy64
0x0000000012345678
# echo 0x80000000 > dummy64
# cat dummy64
0xffffffff80000000
A value larger than INT_MAX cannot be written to the debugfs file created
by debugfs_create_u64 or debugfs_create_x64 on 32bit machine. Because
simple_attr_write() uses simple_strtol() for the conversion.
To fix this, use simple_strtoll() instead.
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-07-19 22:09:30 -07:00
..
2011-05-28 01:02:53 -04:00
2011-03-31 11:26:23 -03:00
2011-05-28 01:02:53 -04:00
2011-06-16 11:44:48 -04:00
2011-05-30 01:50:53 -04:00
2011-03-31 11:26:23 -03:00
2011-05-28 01:02:50 -04:00
2011-07-08 23:25:45 -07:00
2011-03-31 11:26:23 -03:00
2011-07-16 23:43:58 -04:00
2011-07-19 21:50:21 -07:00
2011-06-20 10:44:19 -04:00
2011-05-28 01:02:54 -04:00
2011-07-17 23:22:02 -04:00
2011-05-19 16:55:28 +09:30
2011-03-22 17:44:17 -07:00
2011-05-26 13:19:00 -07:00
2011-05-29 14:24:25 -05:00
2011-03-10 08:52:07 +01:00
2011-07-17 23:20:29 -04:00
2011-03-15 02:21:44 -04:00
2011-05-26 07:26:56 -04:00
2011-05-27 07:04:40 -04:00
2011-06-06 09:51:52 -04:00
2011-05-31 19:42:24 +09:00
2011-05-10 10:16:21 +02:00
2011-07-07 13:21:56 -07:00
2011-06-03 18:24:58 -04:00
2011-07-14 08:59:44 +01:00
2011-05-28 01:02:52 -04:00
2011-06-30 13:38:39 +02:00
2011-05-28 01:02:52 -04:00
2011-05-28 01:02:54 -04:00
2011-07-17 23:22:48 -04:00
2011-05-26 09:20:31 -07:00
2011-06-18 07:25:42 -07:00
2011-05-24 00:27:53 +02:00
2011-06-13 15:38:22 -04:00
2011-05-28 13:03:41 -07:00
2011-06-20 17:53:24 -05:00
2011-06-15 11:24:27 -04:00
2011-06-20 10:44:26 -04:00
2011-05-28 01:02:54 -04:00
2011-05-28 01:02:53 -04:00
2011-07-13 14:34:08 -07:00
2011-03-31 11:26:23 -03:00
2011-06-20 10:38:01 -04:00
2011-06-20 10:44:33 -04:00
2011-04-07 11:14:49 -07:00
2011-03-31 11:26:23 -03:00
2011-06-03 18:24:58 -04:00
2011-06-24 08:34:22 -07:00
2011-05-30 07:42:51 +02:00
2011-06-28 09:39:11 -07:00
2011-05-16 11:05:00 -07:00
2011-03-10 08:52:07 +01:00
2011-05-25 08:39:26 -07:00
2011-04-14 16:06:56 -07:00
2011-06-20 10:45:21 -04:00
2011-06-27 18:00:12 -07:00
2011-05-29 11:19:45 -07:00
2011-06-12 17:45:41 -04:00
2011-05-28 01:02:50 -04:00
2011-06-20 10:42:34 -04:00
2011-05-28 01:02:52 -04:00
2011-07-17 23:21:35 -04:00
2011-07-06 15:44:40 -05:00
2011-03-24 10:16:26 -07:00
2011-05-28 12:02:09 -04:00
2011-06-20 10:44:00 -04:00
2011-07-06 12:15:16 -07:00
2011-04-14 16:06:55 -07:00
2011-05-03 10:10:51 +10:00
2011-03-17 11:11:05 +01:00
2011-05-28 14:44:46 +02:00
2011-06-13 12:45:48 +02:00
2011-06-16 11:44:46 -04:00
2011-04-09 15:53:56 +02:00
2011-07-14 21:33:41 -04:00
2011-05-31 16:33:35 +02:00
2011-03-24 10:16:26 -07:00
2011-05-25 08:39:26 -07:00
2011-02-21 15:07:04 -08:00
2011-03-31 11:26:23 -03:00
2011-06-17 09:40:48 -07:00
2011-03-23 19:47:13 -07:00
2011-04-14 16:06:56 -07:00
2011-03-21 00:16:09 -04:00
2011-03-16 13:26:17 -07:00
2011-04-28 11:28:20 -07:00
2011-04-17 10:42:01 -07:00
2011-05-27 07:04:40 -04:00
2011-03-23 19:47:13 -07:00
2011-06-27 18:00:13 -07:00
2011-03-24 21:17:51 -04:00
2011-03-21 00:16:08 -04:00
2011-05-26 09:52:14 -07:00
2011-07-19 22:09:30 -07:00
2011-07-06 10:41:13 -07:00
2011-03-16 19:01:29 -07:00
2011-05-25 08:39:26 -07:00
2011-05-26 10:01:43 -06:00
2011-07-19 21:49:01 -07:00
2011-05-26 07:26:44 -04:00
2011-03-14 09:15:28 -04:00
2011-03-21 01:10:41 -04:00
2011-01-20 16:21:59 -08:00
2011-01-25 15:24:47 -05:00
2011-03-21 00:16:08 -04:00
2011-05-23 19:58:53 +02:00
2011-03-15 02:21:45 -04:00
2011-03-14 09:15:28 -04:00
2011-06-03 18:24:58 -04:00
2011-03-24 10:16:26 -07:00
2011-06-14 11:46:14 +02:00
2011-03-23 19:47:13 -07:00
2011-05-28 12:02:09 -04:00