* [Kernel-janitors] [PATCH] fs/reiserfs MIN/MAX removal
@ 2004-02-26 21:17 Michael Veeck
0 siblings, 0 replies; only message in thread
From: Michael Veeck @ 2004-02-26 21:17 UTC (permalink / raw)
To: kernel-janitors
[-- Attachment #1: Type: text/plain, Size: 131 bytes --]
Patch (against 2.6.3) removes unnecessary min/max macros and changes
calls to use kernel.h macros instead.
Best Regards
Michael
[-- Attachment #2: minmax_fs_reiserfs.patch --]
[-- Type: text/plain, Size: 763 bytes --]
--- linux-2.6.3.org/include/linux/reiserfs_fs.h 2004-02-18 04:59:23.000000000 +0100
+++ linux-2.6.3.test/include/linux/reiserfs_fs.h 2004-02-20 15:25:19.000000000 +0100
@@ -1943,11 +1943,10 @@
#define PROC_EXP( e ) e
-#define MAX( a, b ) ( ( ( a ) > ( b ) ) ? ( a ) : ( b ) )
#define __PINFO( sb ) REISERFS_SB(sb) -> s_proc_info_data
#define PROC_INFO_MAX( sb, field, value ) \
__PINFO( sb ).field = \
- MAX( REISERFS_SB( sb ) -> s_proc_info_data.field, value )
+ max( REISERFS_SB( sb ) -> s_proc_info_data.field, value )
#define PROC_INFO_INC( sb, field ) ( ++ ( __PINFO( sb ).field ) )
#define PROC_INFO_ADD( sb, field, val ) ( __PINFO( sb ).field += ( val ) )
#define PROC_INFO_BH_STAT( sb, bh, level ) \
[-- Attachment #3: Type: text/plain, Size: 163 bytes --]
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
http://lists.osdl.org/mailman/listinfo/kernel-janitors
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-02-26 21:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-26 21:17 [Kernel-janitors] [PATCH] fs/reiserfs MIN/MAX removal Michael Veeck
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.