Linux Btrfs filesystem development
 help / color / mirror / Atom feed
From: Josef Bacik <jbacik@fb.com>
To: <linux-btrfs@vger.kernel.org>
Subject: [PATCH] Revert "btrfs-progs: disable backtrace and define __always_inline"
Date: Tue, 13 Jan 2015 17:20:19 -0500	[thread overview]
Message-ID: <1421187619-24936-1-git-send-email-jbacik@fb.com> (raw)

This reverts commit c2691f807ddd2c6b261c5707f6838a45d9275390 as it breaks
backtracing on actual glibc environments.

Signed-off-by: Josef Bacik <jbacik@fb.com>
---
 kerncompat.h | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/kerncompat.h b/kerncompat.h
index 7397274..5c1cca9 100644
--- a/kerncompat.h
+++ b/kerncompat.h
@@ -29,12 +29,6 @@
 #include <stddef.h>
 #include <linux/types.h>
 #include <stdint.h>
-
-#ifndef __glibc__
-#define BTRFS_DISABLE_BACKTRACE
-#define __always_inline __inline __attribute__ ((__always_inline__))
-#endif
-
 #ifndef BTRFS_DISABLE_BACKTRACE
 #include <execinfo.h>
 #endif
-- 
1.8.3.1


             reply	other threads:[~2015-01-13 22:21 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-13 22:20 Josef Bacik [this message]
2015-01-14  0:13 ` [PATCH] Revert "btrfs-progs: disable backtrace and define __always_inline" David Sterba
2015-01-14  0:19   ` Merlijn Wajer
2015-01-14  0:26     ` Josef Bacik
2015-01-14  0:31       ` Merlijn Wajer
2015-01-14  0:39         ` Josef Bacik
2015-01-14  0:42         ` David Sterba
2015-01-14  0:42           ` Merlijn Wajer
2015-01-14  0:19   ` Josef Bacik

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=1421187619-24936-1-git-send-email-jbacik@fb.com \
    --to=jbacik@fb.com \
    --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