Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.0:Ports
mdadm
0074-bitmap-Remove-use-of-md_get_version.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0074-bitmap-Remove-use-of-md_get_version.patch of Package mdadm
From 5d89b18da805cb9ce2b0f726cd534bcbf4dce8c6 Mon Sep 17 00:00:00 2001 From: Jes Sorensen <Jes.Sorensen@gmail.com> Date: Wed, 5 Apr 2017 15:38:48 -0400 Subject: [PATCH] bitmap: Remove use of md_get_version() Git-commit: 5d89b18da805cb9ce2b0f726cd534bcbf4dce8c6 Patch-mainline: mdadm-4.0+ References: bsc#1069165, bsc#1069167, bsc#1068030 Signed-off-by: Jes Sorensen <Jes.Sorensen@gmail.com> Signed-off-by: Coly Li <colyli@suse.de> --- bitmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitmap.c b/bitmap.c index ccedfd3..16a6b73 100644 --- a/bitmap.c +++ b/bitmap.c @@ -260,7 +260,7 @@ int ExamineBitmap(char *filename, int brief, struct supertype *st) if (!info) return rv; sb = &info->sb; - if (sb->magic != BITMAP_MAGIC && md_get_version(fd) > 0) { + if (sb->magic != BITMAP_MAGIC) { pr_err("This is an md array. To view a bitmap you need to examine\n"); pr_err("a member device, not the array.\n"); pr_err("Reporting bitmap that would be used if this array were used\n"); -- 2.13.6
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor