mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Anton Altaparmakov <aia21@cus.cam.ac.uk>
To: alan@lxorguk.ukuu.org.uk
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH2] 2.4.9-ac9 NTFS minor fix to previous patch
Date: Thu, 6 Sep 2001 19:45:52 +0100 (BST)	[thread overview]
Message-ID: <E15f49w-00043M-00@libra.cus.cam.ac.uk> (raw)

Hello Alan,

Below patch is incremental to previous large patch and fixes a small no
brainer on my part which caused the ntfs module to have an undefined
symbol if compiled without debug support... - Please apply. Thanks.

</me writes on my forehead>Test all compile options before sending a
patch.

Best regards,

	Anton
-- 
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
Linux NTFS maintainer / WWW: http://linux-ntfs.sf.net/
ICQ: 8561279 / WWW: http://www-stu.christs.cam.ac.uk/~aia21/


--- linux-2.4.9-ac9-ntfs-1.1.18b/fs/ntfs/support.h	Mon Jul 16 23:14:10 2001
+++ linux-2.4.9-ac9-ntfs-1.1.18/fs/ntfs/support.h	Thu Sep  6 19:21:40 2001
@@ -19,7 +19,11 @@
 #define DEBUG_NAME1  1024
 #define DEBUG_NAME2  2048
 
+#ifdef DEBUG
 void ntfs_debug(int mask, const char *fmt, ...);
+#else
+#define ntfs_debug(mask, fmt, ...)	do {} while (0)
+#endif
 
 #include <linux/slab.h>
 #include <linux/vmalloc.h>
--- linux-2.4.9-ac9-ntfs-1.1.18b/fs/ntfs/support.c	Thu Sep  6 19:32:28 2001
+++ linux-2.4.9-ac9-ntfs-1.1.18/fs/ntfs/support.c	Thu Sep  6 19:20:55 2001
@@ -62,7 +62,6 @@
 }
 #endif
 #else /* End of DEBUG functions. Normal ones below... */
-#define ntfs_debug(mask, fmt, ...)	do {} while (0)
 
 #ifndef ntfs_malloc
 void *ntfs_malloc(int size)

                 reply	other threads:[~2001-09-06 18:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=E15f49w-00043M-00@libra.cus.cam.ac.uk \
    --to=aia21@cus.cam.ac.uk \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@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

all inboxes | Powered by JetHome®