All of lore.kernel.org
 help / color / mirror / Atom feed
From: Boris Burkov <boris@bur.io>
To: linux-btrfs@vger.kernel.org, kernel-team@fb.com
Subject: [PATCH] btrfs-progs: use EXPERIMENTAL instead of CONFIG_BTRFS_DEBUG
Date: Thu, 14 Mar 2024 16:19:00 -0700	[thread overview]
Message-ID: <a3d01ef26525e9730f1d94de3d7c8e57f3c73fc7.1710458248.git.boris@bur.io> (raw)

not sure exactly how this ifdef was supposed to work originally, but it
currently doesn't and I don't see other use cases of this pattern.

Use EXPERIMENTAL which does work after:

        ./configure --enable-experimental

Signed-off-by: Boris Burkov <boris@bur.io>
---
 kernel-shared/send.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel-shared/send.h b/kernel-shared/send.h
index 34de60ff0..ce4a99e31 100644
--- a/kernel-shared/send.h
+++ b/kernel-shared/send.h
@@ -25,7 +25,7 @@
 
 #define BTRFS_SEND_STREAM_MAGIC "btrfs-stream"
 /* Conditional support for the upcoming protocol version. */
-#ifdef CONFIG_BTRFS_DEBUG
+#if EXPERIMENTAL
 #define BTRFS_SEND_STREAM_VERSION 3
 #else
 #define BTRFS_SEND_STREAM_VERSION 2
-- 
2.43.0


             reply	other threads:[~2024-03-14 23:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-14 23:19 Boris Burkov [this message]
2024-03-15  4:46 ` [PATCH] btrfs-progs: use EXPERIMENTAL instead of CONFIG_BTRFS_DEBUG Qu Wenruo
2024-03-15 10:10 ` Anand Jain
2024-03-18 22:17 ` David Sterba
2024-03-19  0:07   ` Qu Wenruo
2024-03-19 16:50     ` 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=a3d01ef26525e9730f1d94de3d7c8e57f3c73fc7.1710458248.git.boris@bur.io \
    --to=boris@bur.io \
    --cc=kernel-team@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 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.