Matthew Wilcox
48483614de
XArray: Fix xa_alloc when id exceeds max
...
Specifying a starting ID greater than the maximum ID isn't something
attempted very often, but it should fail. It was succeeding due to
xas_find_marked() returning the wrong error state, so add tests for
both xa_alloc() and xas_find_marked().
Fixes: b803b42823 ("xarray: Add XArray iterators")
Signed-off-by: Matthew Wilcox <willy@infradead.org >
2018-12-13 14:07:33 -05:00
..
2018-08-23 18:48:43 -07:00
2018-10-31 08:54:14 -07:00
2018-08-07 17:51:39 +08:00
2018-11-06 17:12:44 +00:00
2018-07-10 15:00:52 -06:00
2018-10-02 08:44:59 +10:00
2018-10-31 08:54:13 -07:00
2018-08-22 10:52:48 -07:00
2018-10-12 09:17:46 +02:00
2018-10-31 08:54:12 -07:00
2018-08-16 12:14:42 -07:00
2018-09-21 13:24:50 +08:00
2018-10-31 08:54:16 -07:00
2018-09-10 16:09:27 +01:00
2018-07-27 19:04:33 +08:00
2018-08-22 10:52:48 -07:00
2018-09-14 14:08:52 +08:00
2018-10-19 07:53:18 +02:00
2018-11-30 14:56:14 -08:00
2018-07-27 19:16:38 +08:00
2018-07-23 15:22:39 +10:00
2018-07-27 19:04:33 +08:00
2018-08-22 10:52:48 -07:00
2018-10-21 10:46:44 -04:00
2018-11-25 16:24:49 -05:00
2018-10-31 16:20:28 -07:00
2018-10-31 08:54:15 -07:00
2018-10-09 11:21:29 +02:00
2018-08-10 20:19:58 -07:00
2018-08-18 11:44:53 -07:00
2018-10-31 08:54:13 -07:00
2018-10-31 16:20:28 -07:00
2018-10-16 13:45:44 +02:00
2018-10-08 10:39:04 -07:00
2018-07-09 14:10:40 +02:00
2018-10-31 08:54:12 -07:00
2018-08-30 12:56:40 +02:00
2018-09-26 15:11:29 -06:00
2018-12-06 08:26:16 -05:00
2018-07-17 09:27:43 +02:00
2018-08-27 11:59:39 -07:00
2018-10-31 08:54:13 -07:00
2018-10-16 13:45:44 +02:00
2018-09-27 21:09:45 +02:00
2018-08-22 10:52:48 -07:00
2018-11-11 09:18:04 -08:00
2018-11-30 12:13:15 -08:00
2018-10-15 16:31:29 -04:00
2018-10-26 16:25:18 -07:00
2018-11-30 14:56:14 -08:00
2018-10-16 13:45:44 +02:00
2018-08-08 09:47:26 -06:00
2018-12-13 14:07:33 -05:00
2018-11-18 10:15:10 -08:00
2018-10-26 12:09:58 -07:00
2018-12-13 14:07:33 -05:00