From: Nathan Scott Date: Fri, 30 Aug 2002 06:36:47 +0000 (+0000) Subject: use a consistent naming scheme, fix some xfs_buf_t offsets. X-Git-Tag: v2.3.0~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5bfc0742050b5619f20011fe26e7b940ee2816ce;p=thirdparty%2Fxfsprogs-dev.git use a consistent naming scheme, fix some xfs_buf_t offsets. --- diff --git a/libxfs/logitem.c b/libxfs/logitem.c index 19f8fd28a..2f0c701e8 100644 --- a/libxfs/logitem.c +++ b/libxfs/logitem.c @@ -45,7 +45,9 @@ xfs_zone_t *xfs_ili_zone; /* inode log item zone */ * with its li_desc field. */ xfs_log_item_desc_t * -xfs_trans_add_item(xfs_trans_t *tp, xfs_log_item_t *lip) +xfs_trans_add_item( + xfs_trans_t *tp, + xfs_log_item_t *lip) { xfs_log_item_desc_t *lidp; xfs_log_item_chunk_t *licp; @@ -140,7 +142,9 @@ xfs_trans_add_item(xfs_trans_t *tp, xfs_log_item_t *lip) * to the given slot. */ void -xfs_trans_free_item(xfs_trans_t *tp, xfs_log_item_desc_t *lidp) +xfs_trans_free_item( + xfs_trans_t *tp, + xfs_log_item_desc_t *lidp) { uint slot; xfs_log_item_chunk_t *licp; @@ -186,7 +190,9 @@ xfs_trans_free_item(xfs_trans_t *tp, xfs_log_item_desc_t *lidp) * Just return it. */ xfs_log_item_desc_t * -xfs_trans_find_item(xfs_trans_t *tp, xfs_log_item_t *lip) +xfs_trans_find_item( + xfs_trans_t *tp, + xfs_log_item_t *lip) { ASSERT(lip->li_desc != NULL); @@ -202,8 +208,8 @@ xfs_trans_find_item(xfs_trans_t *tp, xfs_log_item_t *lip) */ void xfs_trans_free_items( - xfs_trans_t *tp, - int flags) + xfs_trans_t *tp, + int flags) { xfs_log_item_chunk_t *licp; xfs_log_item_chunk_t *next_licp; @@ -246,15 +252,15 @@ xfs_trans_free_items( */ STATIC xfs_buf_t * xfs_trans_buf_item_match( - xfs_trans_t *tp, - xfs_buftarg_t *target, - xfs_daddr_t blkno, - int len) + xfs_trans_t *tp, + xfs_buftarg_t *target, + xfs_daddr_t blkno, + int len) { xfs_log_item_chunk_t *licp; xfs_log_item_desc_t *lidp; xfs_buf_log_item_t *blip; - xfs_buf_t *bp; + xfs_buf_t *bp; int i; #ifdef LI_DEBUG @@ -321,15 +327,15 @@ xfs_trans_buf_item_match( */ STATIC xfs_buf_t * xfs_trans_buf_item_match_all( - xfs_trans_t *tp, - xfs_buftarg_t *target, - xfs_daddr_t blkno, - int len) + xfs_trans_t *tp, + xfs_buftarg_t *target, + xfs_daddr_t blkno, + int len) { xfs_log_item_chunk_t *licp; xfs_log_item_desc_t *lidp; xfs_buf_log_item_t *blip; - xfs_buf_t *bp; + xfs_buf_t *bp; int i; #ifdef LI_DEBUG @@ -403,8 +409,8 @@ xfs_trans_buf_item_match_all( */ void xfs_buf_item_init( - xfs_buf_t *bp, - xfs_mount_t *mp) + xfs_buf_t *bp, + xfs_mount_t *mp) { xfs_log_item_t *lip; xfs_buf_log_item_t *bip; @@ -472,8 +478,8 @@ xfs_buf_item_log( */ void xfs_inode_item_init( - xfs_inode_t *ip, - xfs_mount_t *mp) + xfs_inode_t *ip, + xfs_mount_t *mp) { xfs_inode_log_item_t *iip;