All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Chinner <dgc@sgi.com>
To: xfs-dev <xfs-dev@sgi.com>
Cc: xfs-oss <xfs@oss.sgi.com>
Subject: Wrong patch checked in....
Date: Tue, 22 Apr 2008 12:35:33 +1000	[thread overview]
Message-ID: <20080422023533.GS103491721@sgi.com> (raw)

Folks,

I just noticed my builds were coming up with warnings inside
QUOTADEBUG code. I never saw a patch go past that enabled it
for debug kernels, so I was kinda confused until I found this:

chook 232% p_modinfo -h xfs-linux-melb:xfs-kern:30878a

mod xfs-linux-melb:xfs-kern:30878a header
==========================================
 - SM_Location:  longdrop.melbourne.sgi.com:/isms/linux/2.6.x-xfs-melb
 - Workarea:     linuxbuild.melbourne.sgi.com:/home/donaldd/isms/2.6.x-xfs
 - xfs-linux-melb:xfs-kern:30878a 04/15/08
 - PV Incidents affected:        971046
 - Inspected by:         hch
 - Description:
   Remove unused HAVE_SPLICE macro.

   HAVE_SPLICE was part of the infrastructure for building 2.4 and 2.6
   kernels out of the same tree. Now we don't build 2.4 kernels this
 - Files affected:       xfs.h 1.51
 - Author:       donaldd
 - xfs.h:
   Remove unused HAVE_SPLICE macro.

Which was supposed to be:

http://oss.sgi.com/archives/xfs/2008-04/msg00246.html

--- a/fs/xfs/linux-2.6/xfs_linux.h      2008-04-08 13:23:55.000000000 +1000
+++ b/fs/xfs/linux-2.6/xfs_linux.h      2008-04-08 12:09:22.455341741 +1000
@@ -99,7 +99,6 @@
 /*
  * Feature macros (disable/enable)
  */
-#define HAVE_SPLICE    /* a splice(2) exists in 2.6, but not in 2.4 */
 #ifdef CONFIG_SMP
 #define HAVE_PERCPU_SB /* per cpu superblock counters are a 2.6 feature */
 #else

What got checked in was:

% p_rdiff -uM xfs-linux-melb:xfs-kern:30878a
--- a/xfs.h     2008-04-22 12:28:12.000000000 +1000
+++ b/xfs.h     2008-04-22 12:28:12.000000000 +1000
@@ -22,7 +22,7 @@
 #define STATIC
 #define DEBUG 1
 #define XFS_BUF_LOCK_TRACKING 1
-/* #define QUOTADEBUG 1 */
+#define QUOTADEBUG 1
 #endif

 #ifdef CONFIG_XFS_TRACE

Seeing as this mod has already made it to Linus, we can't revert it easily.

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=e687330b5ed1ea899fdaf0dea50aba196b6e019a

Donald, can you do another checkin that returns xfs.h to it's previous
state and removes the HAVE_SPLICE stuff correctly?

Cheers,

Dave.
-- 
Dave Chinner
Principal Engineer
SGI Australian Software Group

             reply	other threads:[~2008-04-22  2:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-22  2:35 David Chinner [this message]
2008-04-22  4:27 ` Wrong patch checked in Donald Douwsma

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=20080422023533.GS103491721@sgi.com \
    --to=dgc@sgi.com \
    --cc=xfs-dev@sgi.com \
    --cc=xfs@oss.sgi.com \
    /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.