Jan Kara 366f4aea64 brd: Switch rd_size to unsigned long
Currently rd_size was int which lead to overflow and bogus device size
once the requested ramdisk size was 1 TB or more. Although these days
ramdisks with 1 TB size are mostly a mistake, the days when they are
useful are not far.

Reported-by: Bart Van Assche <bart.vanassche@sandisk.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Jens Axboe <axboe@fb.com>
2016-10-25 11:55:23 -06:00
..
2016-08-07 14:41:02 -06:00
2016-09-15 08:42:03 -06:00
2016-06-27 12:26:08 -07:00
2016-10-25 11:55:23 -06:00
2016-06-27 12:26:08 -07:00
2014-08-08 15:57:28 -07:00
2016-03-14 09:06:01 -06:00
2016-10-11 15:06:33 -07:00
2015-09-23 11:01:16 -06:00
2016-03-15 15:59:47 -07:00
2016-08-07 14:41:02 -06:00
2016-06-27 12:26:08 -07:00
2016-06-27 12:26:08 -07:00
2016-06-27 12:26:08 -07:00
2016-06-27 12:26:08 -07:00
2016-08-07 14:41:02 -06:00
2016-09-15 08:42:03 -06:00
2016-09-15 08:42:03 -06:00