diff options
author | Eric Sandeen <sandeen@sandeen.net> | 2008-08-13 02:10:52 -0400 |
---|---|---|
committer | Lachlan McIlroy <lachlan@redback.melbourne.sgi.com> | 2008-08-13 02:10:52 -0400 |
commit | 39dab9d7daf5f664a3569378107a2cb284c8a594 (patch) | |
tree | e28685c145054fe2795d1d85949332a1e16c0e2c /fs/xfs/xfs_trans.c | |
parent | db7a2c71d287686eef1d4df1565fa32f89a9fe68 (diff) |
[XFS] remove shouting-indirection macros from xfs_trans.h
SGI-PV: 981498
SGI-Modid: xfs-linux-melb:xfs-kern:31758a
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Signed-off-by: Niv Sardi <xaiki@sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_trans.c')
-rw-r--r-- | fs/xfs/xfs_trans.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/fs/xfs/xfs_trans.c b/fs/xfs/xfs_trans.c index d98758a09677..4e1c22a23be5 100644 --- a/fs/xfs/xfs_trans.c +++ b/fs/xfs/xfs_trans.c | |||
@@ -254,7 +254,7 @@ _xfs_trans_alloc( | |||
254 | tp->t_mountp = mp; | 254 | tp->t_mountp = mp; |
255 | tp->t_items_free = XFS_LIC_NUM_SLOTS; | 255 | tp->t_items_free = XFS_LIC_NUM_SLOTS; |
256 | tp->t_busy_free = XFS_LBC_NUM_SLOTS; | 256 | tp->t_busy_free = XFS_LBC_NUM_SLOTS; |
257 | XFS_LIC_INIT(&(tp->t_items)); | 257 | xfs_lic_init(&(tp->t_items)); |
258 | XFS_LBC_INIT(&(tp->t_busy)); | 258 | XFS_LBC_INIT(&(tp->t_busy)); |
259 | return tp; | 259 | return tp; |
260 | } | 260 | } |
@@ -283,7 +283,7 @@ xfs_trans_dup( | |||
283 | ntp->t_mountp = tp->t_mountp; | 283 | ntp->t_mountp = tp->t_mountp; |
284 | ntp->t_items_free = XFS_LIC_NUM_SLOTS; | 284 | ntp->t_items_free = XFS_LIC_NUM_SLOTS; |
285 | ntp->t_busy_free = XFS_LBC_NUM_SLOTS; | 285 | ntp->t_busy_free = XFS_LBC_NUM_SLOTS; |
286 | XFS_LIC_INIT(&(ntp->t_items)); | 286 | xfs_lic_init(&(ntp->t_items)); |
287 | XFS_LBC_INIT(&(ntp->t_busy)); | 287 | XFS_LBC_INIT(&(ntp->t_busy)); |
288 | 288 | ||
289 | ASSERT(tp->t_flags & XFS_TRANS_PERM_LOG_RES); | 289 | ASSERT(tp->t_flags & XFS_TRANS_PERM_LOG_RES); |
@@ -1170,7 +1170,7 @@ xfs_trans_cancel( | |||
1170 | while (licp != NULL) { | 1170 | while (licp != NULL) { |
1171 | lidp = licp->lic_descs; | 1171 | lidp = licp->lic_descs; |
1172 | for (i = 0; i < licp->lic_unused; i++, lidp++) { | 1172 | for (i = 0; i < licp->lic_unused; i++, lidp++) { |
1173 | if (XFS_LIC_ISFREE(licp, i)) { | 1173 | if (xfs_lic_isfree(licp, i)) { |
1174 | continue; | 1174 | continue; |
1175 | } | 1175 | } |
1176 | 1176 | ||
@@ -1316,7 +1316,7 @@ xfs_trans_committed( | |||
1316 | * Special case the chunk embedded in the transaction. | 1316 | * Special case the chunk embedded in the transaction. |
1317 | */ | 1317 | */ |
1318 | licp = &(tp->t_items); | 1318 | licp = &(tp->t_items); |
1319 | if (!(XFS_LIC_ARE_ALL_FREE(licp))) { | 1319 | if (!(xfs_lic_are_all_free(licp))) { |
1320 | xfs_trans_chunk_committed(licp, tp->t_lsn, abortflag); | 1320 | xfs_trans_chunk_committed(licp, tp->t_lsn, abortflag); |
1321 | } | 1321 | } |
1322 | 1322 | ||
@@ -1325,7 +1325,7 @@ xfs_trans_committed( | |||
1325 | */ | 1325 | */ |
1326 | licp = licp->lic_next; | 1326 | licp = licp->lic_next; |
1327 | while (licp != NULL) { | 1327 | while (licp != NULL) { |
1328 | ASSERT(!XFS_LIC_ARE_ALL_FREE(licp)); | 1328 | ASSERT(!xfs_lic_are_all_free(licp)); |
1329 | xfs_trans_chunk_committed(licp, tp->t_lsn, abortflag); | 1329 | xfs_trans_chunk_committed(licp, tp->t_lsn, abortflag); |
1330 | next_licp = licp->lic_next; | 1330 | next_licp = licp->lic_next; |
1331 | kmem_free(licp); | 1331 | kmem_free(licp); |
@@ -1388,7 +1388,7 @@ xfs_trans_chunk_committed( | |||
1388 | 1388 | ||
1389 | lidp = licp->lic_descs; | 1389 | lidp = licp->lic_descs; |
1390 | for (i = 0; i < licp->lic_unused; i++, lidp++) { | 1390 | for (i = 0; i < licp->lic_unused; i++, lidp++) { |
1391 | if (XFS_LIC_ISFREE(licp, i)) { | 1391 | if (xfs_lic_isfree(licp, i)) { |
1392 | continue; | 1392 | continue; |
1393 | } | 1393 | } |
1394 | 1394 | ||