aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/xfs/xfs_ialloc.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/fs/xfs/xfs_ialloc.c b/fs/xfs/xfs_ialloc.c
index 177a21a7ac4..30b816d1f7e 100644
--- a/fs/xfs/xfs_ialloc.c
+++ b/fs/xfs/xfs_ialloc.c
@@ -609,13 +609,6 @@ xfs_ialloc_get_rec(
609/* 609/*
610 * Visible inode allocation functions. 610 * Visible inode allocation functions.
611 */ 611 */
612/*
613 * Find a free (set) bit in the inode bitmask.
614 */
615static inline int xfs_ialloc_find_free(xfs_inofree_t *fp)
616{
617 return xfs_lowbit64(*fp);
618}
619 612
620/* 613/*
621 * Allocate an inode on disk. 614 * Allocate an inode on disk.
@@ -995,7 +988,7 @@ newino:
995 } 988 }
996 989
997alloc_inode: 990alloc_inode:
998 offset = xfs_ialloc_find_free(&rec.ir_free); 991 offset = xfs_lowbit64(rec.ir_free);
999 ASSERT(offset >= 0); 992 ASSERT(offset >= 0);
1000 ASSERT(offset < XFS_INODES_PER_CHUNK); 993 ASSERT(offset < XFS_INODES_PER_CHUNK);
1001 ASSERT((XFS_AGINO_TO_OFFSET(mp, rec.ir_startino) % 994 ASSERT((XFS_AGINO_TO_OFFSET(mp, rec.ir_startino) %