From: Stanislav Brabec <sbrabec@suse.cz>
To: util-linux@vger.kernel.org
Cc: "David Štěrba" <dsterba@suse.cz>
Subject: Re: [PATCH] libmount: handle btrfs default subvolume mount
Date: Wed, 20 Jan 2016 22:51:52 +0100 [thread overview]
Message-ID: <56A00178.9000603@suse.cz> (raw)
In-Reply-To: <569FEF38.9010102@suse.cz>
Stanislav Brabec wrote:
> +#ifndef cpu_to_le64
> +#if __BYTE_ORDER == __BIG_ENDIAN
> +#define cpu_to_le64(x) ((__force __le64)(__u64)(bswap_64(x)))
> +#define le64_to_cpu(x) ((__force __u64)(__le64)(bswap_64(x)))
I just found that my patch does not compile on big endian.
I will send a new patch that uses bitops.h to fix that.
--
Best Regards / S pozdravem,
Stanislav Brabec
software developer
---------------------------------------------------------------------
SUSE LINUX, s. r. o. e-mail: sbrabec@suse.com
Lihovarská 1060/12 tel: +49 911 7405384547
190 00 Praha 9 fax: +420 284 084 001
Czech Republic http://www.suse.cz/
PGP: 830B 40D5 9E05 35D8 5E27 6FA3 717C 209F A04F CD76
next prev parent reply other threads:[~2016-01-20 21:51 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-20 20:34 [PATCH] libmount: handle btrfs default subvolume mount Stanislav Brabec
2016-01-20 21:51 ` Stanislav Brabec [this message]
2016-01-20 21:57 ` Stanislav Brabec
2016-01-21 9:48 ` Karel Zak
2016-01-21 15:24 ` Stanislav Brabec
2016-01-21 15:37 ` Karel Zak
2016-01-21 15:45 ` Karel Zak
2016-01-21 17:24 ` Stanislav Brabec
2016-01-22 8:42 ` David Sterba
2016-01-21 21:58 ` Stanislav Brabec
2016-01-26 10:15 ` Karel Zak
2016-01-28 14:22 ` Stanislav Brabec
2016-02-01 12:18 ` Karel Zak
2016-02-01 15:38 ` Stanislav Brabec
2016-02-02 10:11 ` Karel Zak
2016-02-02 15:04 ` Stanislav Brabec
2016-02-02 18:43 ` Karel Zak
2016-02-02 19:36 ` Stanislav Brabec
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=56A00178.9000603@suse.cz \
--to=sbrabec@suse.cz \
--cc=dsterba@suse.cz \
--cc=util-linux@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.