Files
linux/drivers
NeilBrown 6d89332b77 [PATCH] md: Fix device-size updates in md
As 'array_size' is a 'sector_t', it may overflow inappropriately when shifted
10 bits.  So We should cast it to a loff_t first.

There are two places with this problem, but the second (in update_raid_disks)
isn't needed so just remove it:
  The only personality that handles ->reshape currently is raid1,
  and it doesn't change the size of the array.
  When added for raid5/6, reshape again won't change the size of the array,
  at least not straight away.
  This code might be need for reshaping 'linear' but linear->shape,
  if implemented, should probably do the i_size_write itself.

Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-02-02 15:07:10 -08:00
..
2006-01-31 03:25:09 -05:00
2006-01-31 17:23:36 -08:00
2006-01-18 19:20:31 -08:00
2006-01-14 18:27:13 -08:00
2006-02-01 08:53:19 -08:00
2006-01-14 10:41:42 -08:00
2006-01-13 16:29:56 -08:00
2006-01-10 00:08:17 +01:00
2006-01-18 19:20:31 -08:00
2006-01-18 19:20:31 -08:00