Skip to contentSkip to conversation

Wrong patch checked in....

PATCH David Chinner 2 participants 2 messages Apr 22, 2008 XFS filesystem

lore
Share & tools
lore
#0 lore 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

fs/xfs/linux-2.6/xfs_linux.h 2008-04-08 12:09:22.455341741 +1000 renamed from fs/xfs/linux-2.6/xfs_linux.h 2008-04-08 13:23:55.000000000 +1000 +0 -1
@@ -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

xfs.h 2008-04-22 12:28:12.000000000 +1000 +1 -1
@@ -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.

Signature · 3 lines
Dave Chinner
Principal Engineer
SGI Australian Software Group
#1 lore raw
Quoted 6 lines · David Chinner

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:

...

Quoted 6 lines

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?

Definitely, just checked it in.

Thanks for picking this up Dave,

Don