From: NeilBrown <neilb@suse.de>
To: Lukasz Dorau <lukasz.dorau@intel.com>
Cc: linux-raid@vger.kernel.org, dan.j.williams@intel.com,
ed.ciechanowski@intel.com
Subject: Re: [PATCH] FIX: resolve make everything compilation error
Date: Tue, 17 Apr 2012 12:58:18 +1000 [thread overview]
Message-ID: <20120417125818.7c12b208@notabene.brown> (raw)
In-Reply-To: <20120416141254.23627.54905.stgit@gklab-128-085.igk.intel.com>
[-- Attachment #1: Type: text/plain, Size: 1115 bytes --]
On Mon, 16 Apr 2012 16:12:55 +0200 Lukasz Dorau <lukasz.dorau@intel.com>
wrote:
> When mdadm is compiled using e.g. 'everything' option, mdassemble
> compilation is broken.
>
> Change code to enable mdassemble compilation.
>
> Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
> ---
> super-intel.c | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/super-intel.c b/super-intel.c
> index ed7792d..3bfeda6 100644
> --- a/super-intel.c
> +++ b/super-intel.c
> @@ -910,6 +910,7 @@ static unsigned long long blocks_per_member(struct imsm_map *map)
> return join_u32(map->blocks_per_member_lo, map->blocks_per_member_hi);
> }
>
> +#ifndef MDASSEMBLE
> static unsigned long long num_data_stripes(struct imsm_map *map)
> {
> if (map == NULL)
> @@ -921,6 +922,7 @@ static void set_total_blocks(struct imsm_disk *disk, unsigned long long n)
> {
> split_ull(n, &disk->total_blocks_lo, &disk->total_blocks_hi);
> }
> +#endif
>
> static void set_pba_of_lba0(struct imsm_map *map, unsigned long long n)
> {
applied, thanks.
NeilBrown
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 828 bytes --]
next prev parent reply other threads:[~2012-04-17 2:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-16 14:12 [PATCH] FIX: resolve make everything compilation error Lukasz Dorau
2012-04-17 2:58 ` NeilBrown [this message]
-- strict thread matches above, loose matches on Subject: below --
2011-12-05 12:08 Adam Kwolek
2011-12-06 0:56 ` NeilBrown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120417125818.7c12b208@notabene.brown \
--to=neilb@suse.de \
--cc=dan.j.williams@intel.com \
--cc=ed.ciechanowski@intel.com \
--cc=linux-raid@vger.kernel.org \
--cc=lukasz.dorau@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).