Jan Kara
89b1f39eb4
udf: Fix bitmap overflow on large filesystems with small block size
...
For large UDF filesystems with 512-byte blocks the number of necessary
bitmap blocks is larger than 2^16 so s_nr_groups in udf_bitmap overflows
(the number will overflow for filesystems larger than 128 GB with
512-byte blocks). That results in ENOSPC errors despite the filesystem
has plenty of free space.
Fix the problem by changing s_nr_groups' type to 'int'. That is enough
even for filesystems 2^32 blocks (UDF maximum) and 512-byte blocksize.
Reported-and-tested-by: v10lator@myway.de
Signed-off-by: Jan Kara <jack@suse.cz>
2013-02-05 17:29:30 +01:00
..
2012-12-20 14:00:01 -05:00
2012-12-20 14:00:01 -05:00
2012-12-17 15:44:47 -08:00
2012-12-20 14:00:01 -05:00
2012-12-20 18:14:31 -08:00
2012-12-20 22:34:00 +00:00
2012-12-20 14:00:13 -08:00
2013-01-01 23:04:30 -06:00
2012-12-17 17:15:12 -08:00
2013-01-11 05:56:01 -08:00
2012-12-18 10:10:13 -06:00
2012-12-20 14:04:11 -08:00
2013-01-21 11:19:57 +01:00
2013-01-21 11:19:57 +01:00
2013-01-21 11:19:55 +01:00
2013-01-03 11:41:43 -08:00
2012-12-20 17:40:20 -08:00
2012-12-20 22:35:15 +00:00
2012-12-17 20:58:12 -08:00
2013-01-02 10:05:27 +00:00
2012-12-20 14:00:01 -05:00
2012-12-20 20:00:43 -08:00
2012-12-20 18:40:00 -05:00
2013-01-14 22:50:45 +01:00
2013-01-02 09:57:34 -08:00
2012-12-20 18:40:52 -05:00
2012-12-20 18:40:53 -05:00
2012-12-20 18:40:53 -05:00
2012-12-20 18:40:54 -05:00
2013-01-05 14:26:51 -05:00
2012-12-21 17:07:45 -08:00
2012-12-20 18:40:54 -05:00
2012-12-20 20:11:52 -08:00
2012-12-20 18:40:55 -05:00
2013-01-21 11:19:55 +01:00
2012-12-20 14:00:01 -05:00
2013-01-02 09:27:10 -08:00
2013-01-03 15:57:14 -08:00
2012-12-20 14:00:01 -05:00
2012-12-17 15:44:47 -08:00
2012-12-20 14:00:01 -05:00
2012-12-17 17:15:26 -08:00
2013-02-05 17:29:30 +01:00
2012-12-20 14:00:01 -05:00
2013-01-16 16:08:55 -06:00
2012-12-17 17:15:12 -08:00
2012-12-17 17:15:19 -08:00
2012-12-17 17:15:23 -08:00
2012-12-20 17:40:19 -08:00
2012-12-20 17:40:19 -08:00
2012-12-17 17:15:12 -08:00
2013-01-14 13:17:50 -08:00
2012-12-20 18:49:10 -05:00
2012-12-17 17:15:27 -08:00
2013-01-02 09:16:43 -08:00
2013-01-11 14:54:55 -08:00
2012-12-20 14:04:11 -08:00
2012-12-20 13:57:36 -05:00
2013-01-03 15:57:16 -08:00
2012-12-20 13:54:52 -08:00
2012-12-20 18:46:29 -05:00
2012-12-20 18:50:05 -05:00
2012-12-20 13:36:18 -05:00
2012-12-20 18:50:07 -05:00
2012-12-20 17:40:21 -08:00
2013-01-10 14:35:24 -08:00
2012-12-17 17:15:27 -08:00
2013-01-06 20:58:13 -08:00
2012-12-20 18:50:01 -05:00
2012-12-20 18:50:07 -05:00
2012-12-20 18:50:08 -05:00
2012-12-20 18:50:11 -05:00