commit | 366f4aea649a65c3735d91b4409d84c771811290 | [log] [tgz] |
---|---|---|
author | Jan Kara <jack@suse.cz> | Tue Oct 25 13:53:27 2016 +0200 |
committer | Jens Axboe <axboe@fb.com> | Tue Oct 25 11:55:23 2016 -0600 |
tree | 0c8e3977ec113b0caeabdb42d290c2f06480504f | |
parent | 5f2808ff1582202175d3908973eb9e05a5e6625d [diff] |
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>