diff options
author | Guoqing Jiang <gqjiang@suse.com> | 2016-03-07 17:31:02 +0800 |
---|---|---|
committer | Jes Sorensen <Jes.Sorensen@redhat.com> | 2016-03-07 15:21:02 -0500 |
commit | b138214fac104472eb09666a56cd70e2b9d4b01c (patch) | |
tree | d0e7ad62410ebbec6272c1b906949d9ad72c034d /mdadm.h | |
parent | 942e1cdb4a6a5be02672bc686169c679e775c2be (diff) | |
download | mdadm-b138214fac104472eb09666a56cd70e2b9d4b01c.tar.gz |
Fix wrong bitmap output for cluster raid
For cluster raid, we need to displays bitmap related
contents from different bitmaps which are based on node
num. So bitmap_file_open and locate_bitmap are changed a
little bit for the purpose.
Reported-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Fixes: b98043a2f8 ("Show all bitmaps while examining bitmap")
Signed-off-by: Guoqing Jiang <gqjiang@suse.com>
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Diffstat (limited to 'mdadm.h')
-rwxr-xr-x | mdadm.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -904,7 +904,7 @@ extern struct superswitch { /* Seek 'fd' to start of write-intent-bitmap. Must be an * md-native format bitmap */ - int (*locate_bitmap)(struct supertype *st, int fd); + int (*locate_bitmap)(struct supertype *st, int fd, int node_num); /* if add_internal_bitmap succeeded for existing array, this * writes it out. */ |