All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] fs/xfs: remove duplicated defines
@ 2007-11-11 12:43 Nicolas Kaiser
  2007-11-11 23:57   ` Eric Sandeen
                   ` (9 more replies)
  0 siblings, 10 replies; 17+ messages in thread
From: Nicolas Kaiser @ 2007-11-11 12:43 UTC (permalink / raw)
  To: kernel-janitors

Remove duplicated defines.

Signed-off-by: Nicolas Kaiser <nikai@nikai.net>
---

 fs/xfs/linux-2.6/xfs_linux.h |    4 ----
 1 file changed, 4 deletions(-)

--- a/fs/xfs/linux-2.6/xfs_linux.h	2007-11-07 11:26:20.000000000 +0100
+++ b/fs/xfs/linux-2.6/xfs_linux.h	2007-11-11 13:07:11.000000000 +0100
@@ -167,12 +167,8 @@
 
 /* clicks to bytes */
 #define	ctob(x)		((__psunsigned_t)(x)<<BPCSHIFT)
-#define btoct(x)        ((__psunsigned_t)(x)>>BPCSHIFT)
 #define	ctob64(x)	((__uint64_t)(x)<<BPCSHIFT)
 
-/* bytes to clicks */
-#define btoc(x)         (((__psunsigned_t)(x)+(NBPC-1))>>BPCSHIFT)
-
 #define ENOATTR		ENODATA		/* Attribute not found */
 #define EWRONGFS	EINVAL		/* Mount with wrong filesystem type */
 #define EFSCORRUPTED	EUCLEAN		/* Filesystem is corrupted */

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2007-11-16  6:17 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-11 12:43 [PATCH] fs/xfs: remove duplicated defines Nicolas Kaiser
2007-11-11 23:57 ` [xfs-masters] " Eric Sandeen
2007-11-11 23:57   ` Eric Sandeen
2007-11-12  0:09   ` Timothy Shimmin
2007-11-12  0:09     ` Timothy Shimmin
2007-11-12  0:28 ` Timothy Shimmin
2007-11-12  0:33 ` [xfs-masters] " Timothy Shimmin
2007-11-12  2:04 ` David Chinner
2007-11-13  5:35 ` Timothy Shimmin
2007-11-13 21:30 ` David Chinner
2007-11-14  2:46 ` Timothy Shimmin
2007-11-14  5:41 ` David Chinner
2007-11-15  0:54 ` Timothy Shimmin
2007-11-15  6:27 ` David Chinner
2007-11-16  5:34   ` [PATCH] remove BPCSHIFT and NB?P? macros - was fs/xfs: remove duplicated Timothy Shimmin
2007-11-16  6:15     ` [xfs-masters] [PATCH] remove BPCSHIFT and NB?P? macros - was Lachlan McIlroy
2007-11-16  6:15       ` [xfs-masters] [PATCH] remove BPCSHIFT and NB?P? macros - was fs/xfs: remove duplicated defines Lachlan McIlroy

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.