From: Dirk Gouders <gouders@et.bocholt.fh-gelsenkirchen.de>
To: linux-btrfs@vger.kernel.org
Subject: btrfs-progs trivial: Double definition of BTRFS_CSUM_TYPE_CRC32 in ctree.h
Date: Mon, 05 Oct 2009 19:29:55 +0200 [thread overview]
Message-ID: <gifx9x6964.fsf@sora.hank.home> (raw)
[-- Attachment #1: Type: text/plain, Size: 132 bytes --]
Hello,
I noticed a double definition of BTRFS_CSUM_TYPE_CRC32 in ctree.h
and attach a patch that removes it.
Best regards,
Dirk
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: ctree.h.diff --]
[-- Type: text/x-patch, Size: 318 bytes --]
diff --git a/ctree.h b/ctree.h
index a9062ea..fec0d9e 100644
--- a/ctree.h
+++ b/ctree.h
@@ -108,10 +108,6 @@ struct btrfs_trans_handle;
/* csum types */
#define BTRFS_CSUM_TYPE_CRC32 0
-
-/* csum types */
-#define BTRFS_CSUM_TYPE_CRC32 0
-
static int btrfs_csum_sizes[] = { 4, 0 };
/* four bytes for CRC32 */
next reply other threads:[~2009-10-05 17:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-05 17:29 Dirk Gouders [this message]
2009-10-06 10:56 ` [PATCH] btrfs-progs: Double definition of BTRFS_CSUM_TYPE_CRC32 Dirk Gouders
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=gifx9x6964.fsf@sora.hank.home \
--to=gouders@et.bocholt.fh-gelsenkirchen.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