Alexander Graf
0812d1a094
efi_loader: disk: Sanitize exposed devices
...
When a target device is 0 bytes long, there's no point in exposing it to
the user. Let's just skip them.
Also, when an offset is passed into the efi disk creation, we should
remove this offset from the total number of sectors we can handle.
This patch fixes both things.
Signed-off-by: Alexander Graf <agraf@suse.de>
2016-08-08 13:33:00 -04:00
..
2016-02-06 13:59:48 +01:00
2016-03-17 10:14:25 -04:00
2016-03-27 09:12:25 -04:00
2016-08-08 13:33:00 -04:00
2016-07-14 20:40:24 -06:00
2015-01-14 11:35:43 -05:00
2016-06-24 17:23:11 -04:00
2016-07-25 12:01:36 -04:00
2016-05-25 13:25:18 +09:00
2016-02-06 12:00:59 +01:00
2016-01-19 08:31:21 -05:00
2014-04-18 16:14:17 -04:00
2015-03-05 20:50:28 -05:00
2016-01-19 08:31:21 -05:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2011-01-18 23:38:08 +01:00
2016-04-11 20:48:26 -04:00
2016-03-14 19:18:42 -04:00
2013-04-19 10:24:14 -04:00
2013-07-24 09:44:38 -04:00
2015-11-19 20:27:50 -07:00
2016-02-26 08:53:10 -07:00
2014-12-11 13:18:41 -07:00
2010-09-19 19:29:47 +02:00
2015-11-05 02:34:14 +01:00
2013-07-24 09:44:38 -04:00
2016-07-24 20:36:28 -05:00
2016-04-18 17:11:41 -04:00
2015-09-11 17:15:16 -04:00
2016-05-02 18:37:09 -04:00
2016-07-25 12:05:55 -04:00
2015-08-05 08:42:41 -06:00
2016-06-02 21:21:47 -04:00
2013-07-24 09:45:01 -04:00
2015-07-22 07:30:44 -06:00
2012-12-13 11:46:07 -07:00
2014-09-16 12:23:56 -04:00
2014-10-25 07:02:01 -04:00
2015-11-18 15:28:59 -05:00
2015-10-11 17:12:10 -04:00
2016-07-14 20:40:24 -06:00
2012-04-29 14:14:08 +02:00
2015-11-19 20:27:50 -07:00
2015-04-18 11:11:32 -06:00
2015-12-13 17:07:30 -07:00
2016-04-01 17:17:43 -04:00
2011-12-07 08:39:54 +01:00
2013-07-24 09:44:38 -04:00
2014-09-16 12:23:56 -04:00
2015-07-21 17:39:28 -06:00
2016-01-19 08:31:21 -05:00
2014-06-19 11:19:04 -04:00
2013-10-14 16:06:53 -04:00
2016-06-06 13:39:18 -04:00
2014-11-20 11:28:25 -05:00
2015-12-13 17:07:30 -07:00
2016-02-26 08:53:10 -07:00
2016-08-08 13:32:59 -04:00
2016-03-14 15:34:50 -06:00
2015-04-18 11:11:09 -06:00
2015-11-12 15:58:58 -05:00
2016-01-19 08:31:16 -05:00