Neil Brown
d7027458d6
md: Tidy up rdev_size_store a bit:
...
- used strict_strtoull in place of simple_strtoull
- use my_mddev in place of rdev->mddev (they have the same value)
and more significantly,
- don't adjust mddev->size to fit, rather reject changes which make
rdev->size smaller than mddev->size
Adjusting mddev->size is a hangover from bind_rdev_to_array which
does a similar thing. But it really is a better design to insist that
mddev->size is set as required, then the rdev->sizes are set to allow
for that. The previous way invites confusion.
Signed-off-by: NeilBrown <neilb@suse.de>
2008-07-21 14:22:18 +10:00
..
2008-05-08 10:46:55 -07:00
2008-07-05 08:25:40 +02:00
2008-07-05 13:05:37 -07:00
2008-06-16 17:21:27 -07:00
2008-07-04 10:40:05 -07:00
2008-07-04 10:40:09 -07:00
2008-07-04 10:40:09 -07:00
2008-05-23 16:45:04 +10:00
2008-07-02 19:21:48 -07:00
2008-06-27 20:03:24 -07:00
2008-06-09 11:27:55 -07:00
2008-06-11 19:13:45 -04:00
2008-05-20 13:51:20 -07:00
2008-05-24 09:56:13 -07:00
2008-06-27 20:55:00 +02:00
2008-06-06 11:29:09 -07:00
2008-07-04 10:40:06 -07:00
2008-05-20 16:44:43 +02:00
2008-07-04 10:40:06 -07:00
2008-07-01 14:30:38 +01:00
2008-07-08 19:27:23 +02:00
2008-06-19 00:12:36 +02:00
2008-07-08 14:40:05 -07:00
2008-07-02 18:40:08 -07:00
2008-06-12 18:05:41 -07:00
2008-05-20 13:31:55 -07:00
2008-06-20 13:26:18 +02:00
2008-06-16 15:00:47 +10:00
2008-07-21 14:22:18 +10:00
2008-07-02 08:58:15 -03:00
2008-05-27 10:58:09 -05:00
2008-05-21 16:56:00 -07:00
2008-06-11 19:13:45 -04:00
2008-07-06 10:37:40 -07:00
2008-06-06 11:31:18 -07:00
2008-07-10 16:59:11 -07:00
2008-06-06 11:29:10 -07:00
2008-05-14 19:11:12 -07:00
2008-05-15 10:38:54 -04:00
2008-07-04 10:40:05 -07:00
2008-05-27 16:07:45 -05:00
2008-06-11 19:13:46 -04:00
2008-06-10 02:13:51 +04:00
2008-07-04 10:40:05 -07:00
2008-06-11 10:35:44 -07:00
2008-05-21 16:55:59 -07:00
2008-06-25 12:36:13 -05:00
2008-07-04 10:40:04 -07:00
2008-07-04 10:40:08 -07:00
2008-07-07 15:31:40 -04:00
2008-06-25 19:25:42 -04:00
2008-05-20 13:31:55 -07:00
2008-07-06 10:27:25 -07:00
2008-07-08 12:51:08 -07:00
2008-06-15 13:46:16 -07:00
2008-06-24 13:09:26 +00:00
2008-06-20 14:56:30 +02:00