diff options
Diffstat (limited to 'fs/xfs/xfs_dir2_node.h')
-rw-r--r-- | fs/xfs/xfs_dir2_node.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/xfs/xfs_dir2_node.h b/fs/xfs/xfs_dir2_node.h index c7c870ee7857..dde72db3d695 100644 --- a/fs/xfs/xfs_dir2_node.h +++ b/fs/xfs/xfs_dir2_node.h | |||
@@ -36,7 +36,7 @@ struct xfs_trans; | |||
36 | #define XFS_DIR2_FREE_SPACE 2 | 36 | #define XFS_DIR2_FREE_SPACE 2 |
37 | #define XFS_DIR2_FREE_OFFSET (XFS_DIR2_FREE_SPACE * XFS_DIR2_SPACE_SIZE) | 37 | #define XFS_DIR2_FREE_OFFSET (XFS_DIR2_FREE_SPACE * XFS_DIR2_SPACE_SIZE) |
38 | #define XFS_DIR2_FREE_FIRSTDB(mp) \ | 38 | #define XFS_DIR2_FREE_FIRSTDB(mp) \ |
39 | XFS_DIR2_BYTE_TO_DB(mp, XFS_DIR2_FREE_OFFSET) | 39 | xfs_dir2_byte_to_db(mp, XFS_DIR2_FREE_OFFSET) |
40 | 40 | ||
41 | #define XFS_DIR2_FREE_MAGIC 0x58443246 /* XD2F */ | 41 | #define XFS_DIR2_FREE_MAGIC 0x58443246 /* XD2F */ |
42 | 42 | ||
@@ -60,7 +60,6 @@ typedef struct xfs_dir2_free { | |||
60 | /* | 60 | /* |
61 | * Convert data space db to the corresponding free db. | 61 | * Convert data space db to the corresponding free db. |
62 | */ | 62 | */ |
63 | #define XFS_DIR2_DB_TO_FDB(mp,db) xfs_dir2_db_to_fdb(mp, db) | ||
64 | static inline xfs_dir2_db_t | 63 | static inline xfs_dir2_db_t |
65 | xfs_dir2_db_to_fdb(struct xfs_mount *mp, xfs_dir2_db_t db) | 64 | xfs_dir2_db_to_fdb(struct xfs_mount *mp, xfs_dir2_db_t db) |
66 | { | 65 | { |
@@ -70,7 +69,6 @@ xfs_dir2_db_to_fdb(struct xfs_mount *mp, xfs_dir2_db_t db) | |||
70 | /* | 69 | /* |
71 | * Convert data space db to the corresponding index in a free db. | 70 | * Convert data space db to the corresponding index in a free db. |
72 | */ | 71 | */ |
73 | #define XFS_DIR2_DB_TO_FDINDEX(mp,db) xfs_dir2_db_to_fdindex(mp, db) | ||
74 | static inline int | 72 | static inline int |
75 | xfs_dir2_db_to_fdindex(struct xfs_mount *mp, xfs_dir2_db_t db) | 73 | xfs_dir2_db_to_fdindex(struct xfs_mount *mp, xfs_dir2_db_t db) |
76 | { | 74 | { |