Linux Btrfs filesystem development
 help / color / mirror / Atom feed
From: Holger Fischer <hoo.mb@web.de>
To: linux-btrfs@vger.kernel.org
Subject: btrfs-tools: debian/patches/02-ftbfs.patch
Date: Mon, 20 May 2013 14:59:27 +0200	[thread overview]
Message-ID: <519A1E2F.5050207@web.de> (raw)

Dear BTRFS-Community,

as far as I understand I believe it would make sense to apply that one upstream:

like described, it ...  Fixes FTBFS on alpha and ia64 ...

 >cat 02-ftbfs.patch
Authors:
  Luca Bruno <lucab@debian.org>
  Alexander Kurtz <kurtz.alex@googlemail.com>
  Daniel Baumann <daniel.baumann@progress-technologies.net>
Description:
  Patch to properly cast and avoiding compiler warnings. Fixes FTBFS on alpha
  and ia64 (Closes: #539433, #583768).

Index: b/convert.c
===================================================================
--- a/convert.c
+++ b/convert.c
@@ -2512,7 +2512,7 @@ int do_rollback(const char *devname, int
         ext2_root = btrfs_read_fs_root(root->fs_info, &key);
         if (!ext2_root || IS_ERR(ext2_root)) {
                 fprintf(stderr, "unable to open subvol %llu\n",
-                       key.objectid);
+                       (unsigned long long) key.objectid);
                 goto fail;
         }


The file convert.c was renamed recently to btrfs-convert.c.
The fprintf in the do_rollback-function doesn't contain the mentioned fix.

Best Regards
Holger Fischer

             reply	other threads:[~2013-05-20 12:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-20 12:59 Holger Fischer [this message]
2013-06-05 15:26 ` btrfs-tools: debian/patches/02-ftbfs.patch David Sterba

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=519A1E2F.5050207@web.de \
    --to=hoo.mb@web.de \
    --cc=linux-btrfs@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox