public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] kill XFS_INOBT_IS_FREE_DISK
@ 2007-09-19 16:12 Christoph Hellwig
  2007-09-19 18:15 ` Eric Sandeen
  2007-09-29  9:45 ` Christoph Hellwig
  0 siblings, 2 replies; 6+ messages in thread
From: Christoph Hellwig @ 2007-09-19 16:12 UTC (permalink / raw)
  To: xfs

This macro is unused an all other acros in this family operate on native
types, so we most likely won't grow a user either.


Signed-off-by: Christoph Hellwig <hch@lst.de>

Index: linux-2.6.23-rc6/fs/xfs/xfs_ialloc_btree.h
===================================================================
--- linux-2.6.23-rc6.orig/fs/xfs/xfs_ialloc_btree.h	2007-09-18 16:27:08.000000000 +0200
+++ linux-2.6.23-rc6/fs/xfs/xfs_ialloc_btree.h	2007-09-18 16:27:18.000000000 +0200
@@ -81,8 +81,6 @@ typedef	struct xfs_btree_sblock xfs_inob
 #define	XFS_INOBT_MASK(i)		((xfs_inofree_t)1 << (i))
 #define	XFS_INOBT_IS_FREE(rp,i)		\
 		(((rp)->ir_free & XFS_INOBT_MASK(i)) != 0)
-#define	XFS_INOBT_IS_FREE_DISK(rp,i)	\
-		((be64_to_cpu((rp)->ir_free) & XFS_INOBT_MASK(i)) != 0)
 #define	XFS_INOBT_SET_FREE(rp,i)	((rp)->ir_free |= XFS_INOBT_MASK(i))
 #define	XFS_INOBT_CLR_FREE(rp,i)	((rp)->ir_free &= ~XFS_INOBT_MASK(i))
 

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

end of thread, other threads:[~2007-09-29 10:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-19 16:12 [PATCH] kill XFS_INOBT_IS_FREE_DISK Christoph Hellwig
2007-09-19 18:15 ` Eric Sandeen
2007-09-19 20:22   ` Christoph Hellwig
2007-09-19 20:29     ` Eric Sandeen
2007-09-19 20:44     ` nscott
2007-09-29  9:45 ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox