mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
[XFS] Remove the rest of the macro-to-function indirections.
Remove the last of the macros-defined-to-static-functions. Signed-off-by: Eric Sandeen <sandeen@sandeen.net> Reviewed-by: Christoph Hellwig <hch@infradead.org> Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
This commit is contained in:
parent
b828d8c338
commit
b6e3222732
23 changed files with 142 additions and 158 deletions
|
@ -39,7 +39,6 @@ struct xfs_trans;
|
|||
/*
|
||||
* Make an inode pointer out of the buffer/offset.
|
||||
*/
|
||||
#define XFS_MAKE_IPTR(mp,b,o) xfs_make_iptr(mp,b,o)
|
||||
static inline struct xfs_dinode *
|
||||
xfs_make_iptr(struct xfs_mount *mp, struct xfs_buf *b, int o)
|
||||
{
|
||||
|
@ -50,7 +49,6 @@ xfs_make_iptr(struct xfs_mount *mp, struct xfs_buf *b, int o)
|
|||
/*
|
||||
* Find a free (set) bit in the inode bitmask.
|
||||
*/
|
||||
#define XFS_IALLOC_FIND_FREE(fp) xfs_ialloc_find_free(fp)
|
||||
static inline int xfs_ialloc_find_free(xfs_inofree_t *fp)
|
||||
{
|
||||
return xfs_lowbit64(*fp);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue