xfs
[Top] [All Lists]

[PATCH] kill XFS_INOBT_IS_FREE_DISK

To: xfs@xxxxxxxxxxx
Subject: [PATCH] kill XFS_INOBT_IS_FREE_DISK
From: Christoph Hellwig <hch@xxxxxx>
Date: Wed, 19 Sep 2007 18:12:03 +0200
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.3.28i
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@xxxxxx>

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))
 


<Prev in Thread] Current Thread [Next in Thread>