Goldwyn Rodrigues
33e38ac688
md-cluster: fix bitmap sub-offset in bitmap_read_sb
...
bitmap_read_sb is modifying mddev->bitmap_info.offset. This works for
the first bitmap read. However, when multiple bitmaps need to be opened
by the same node, it ends up corrupting the offset. Fix it by using a
local variable.
Also, bitmap_read_sb is not required in bitmap_copy_from_slot since
it is called in bitmap_create. Remove bitmap_read_sb().
Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com >
Signed-off-by: NeilBrown <neilb@suse.com >
2015-07-24 13:37:55 +10:00
..
2015-06-29 10:34:42 -07:00
2015-06-26 11:08:27 -07:00
2015-06-26 15:07:37 -07:00
2015-06-29 10:34:42 -07:00
2015-06-18 21:00:06 +03:00
2015-06-26 11:54:29 -07:00
2015-06-27 13:26:03 -07:00
2015-06-27 12:44:34 -07:00
2015-06-26 12:20:00 -07:00
2015-06-27 12:44:34 -07:00
2015-06-26 12:20:00 -07:00
2015-06-23 14:18:07 -07:00
2015-06-29 09:44:45 -07:00
2015-06-26 15:07:37 -07:00
2015-06-12 17:01:42 -07:00
2015-06-27 12:44:34 -07:00
2015-06-24 19:21:02 -07:00
2015-06-26 13:18:51 -07:00
2015-06-22 16:23:43 +02:00
2015-06-23 02:40:03 +02:00
2015-06-12 16:58:33 -07:00
2015-06-26 14:51:15 -07:00
2015-06-26 14:51:15 -07:00
2015-06-25 14:29:53 -07:00
2015-06-24 16:49:49 -07:00
2015-06-26 15:53:22 -07:00
2015-06-26 13:18:51 -07:00
2015-06-27 12:44:34 -07:00
2015-06-24 16:49:49 -07:00
2015-06-26 11:54:29 -07:00
2015-06-22 17:59:09 -07:00
2015-06-15 16:42:37 +10:00
2015-06-13 16:20:39 +05:30
2015-07-24 13:37:55 +10:00
2015-06-26 15:46:08 -07:00
2015-06-26 11:54:29 -07:00
2015-06-13 08:44:14 -07:00
2015-06-25 18:55:33 -07:00
2015-06-26 14:51:15 -07:00
2015-06-25 15:22:36 -07:00
2015-06-25 16:00:17 -07:00
2015-06-25 17:00:39 -07:00
2015-06-26 14:51:15 -07:00
2015-06-23 13:41:24 -07:00
2015-06-26 11:23:38 -04:00
2015-06-26 13:18:51 -07:00
2015-06-12 16:58:33 -07:00
2015-06-25 17:00:38 -07:00
2015-06-26 14:51:15 -07:00
2015-06-27 12:44:34 -07:00
2015-06-26 11:54:29 -07:00
2015-06-26 15:46:08 -07:00
2015-06-19 01:18:43 +02:00
2015-06-26 17:44:09 -07:00
2015-06-23 13:32:38 -07:00
2015-06-23 14:08:54 -07:00
2015-06-25 17:15:18 -07:00
2015-06-27 12:44:34 -07:00
2015-06-25 15:12:50 -07:00
2015-06-24 16:49:49 -07:00
2015-06-26 11:54:29 -07:00
2015-06-18 00:19:56 +01:00
2015-06-26 15:46:08 -07:00
2015-06-24 16:49:49 -07:00
2015-06-25 17:51:55 -07:00
2015-06-27 12:44:34 -07:00
2015-06-12 17:01:43 -07:00
2015-06-27 12:44:34 -07:00
2015-06-28 12:32:13 -07:00
2015-06-24 16:49:49 -07:00
2015-06-26 15:53:22 -07:00
2015-06-23 13:41:24 -07:00
2015-06-12 17:31:05 -07:00
2015-06-12 16:58:33 -07:00
2015-06-26 11:34:35 -07:00
2015-06-24 17:49:45 -07:00
2015-06-24 21:24:10 -04:00
2015-06-29 10:34:42 -07:00