X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Fjfs%2Fjfs_txnmgr.h;h=b71b82c2df04e26be97562bd987ffe5aa9dcc819;hb=973b9821248435d0a15f0310bc913366a60e338b;hp=294d83223ad62065ed44cac0de07d68e1eab07b3;hpb=86090fcac5e27b630656fe3d963a6b80e26dac44;p=linux-2.6.git diff --git a/fs/jfs/jfs_txnmgr.h b/fs/jfs/jfs_txnmgr.h index 294d83223..b71b82c2d 100644 --- a/fs/jfs/jfs_txnmgr.h +++ b/fs/jfs/jfs_txnmgr.h @@ -1,5 +1,5 @@ /* - * Copyright (c) International Business Machines Corp., 2000-2002 + * Copyright (C) International Business Machines Corp., 2000-2004 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -53,7 +53,7 @@ struct tblock { u32 logtid; /* log transaction id */ /* commit management */ - struct tblock *cqnext; /* commit queue link */ + struct list_head cqueue; /* commit queue list */ s32 clsn; /* commit lsn */ struct lbuf *bp; s32 pn; /* commit record log page number */ @@ -93,16 +93,16 @@ extern struct tblock *TxBlock; /* transaction block table */ * transaction lock */ struct tlock { - lid_t next; /* index next lockword on tid locklist + lid_t next; /* 2: index next lockword on tid locklist * next lockword on freelist */ - tid_t tid; /* transaction id holding lock */ + tid_t tid; /* 2: transaction id holding lock */ u16 flag; /* 2: lock control */ u16 type; /* 2: log type */ - struct metapage *mp; /* 4: object page buffer locked */ - struct inode *ip; /* 4: object */ + struct metapage *mp; /* 4/8: object page buffer locked */ + struct inode *ip; /* 4/8: object */ /* (16) */ s16 lock[24]; /* 48: overlay area */ @@ -167,7 +167,7 @@ struct lv { #define TLOCKLONG 28 struct linelock { - u16 next; /* 2: next linelock */ + lid_t next; /* 2: next linelock */ s8 maxcnt; /* 1: */ s8 index; /* 1: */ @@ -183,7 +183,7 @@ struct linelock { #define dt_lock linelock struct xtlock { - u16 next; /* 2: */ + lid_t next; /* 2: */ s8 maxcnt; /* 1: */ s8 index; /* 1: */ @@ -214,7 +214,7 @@ struct xtlock { * free maplock (i.e., number of maplock) in the tlock; */ struct maplock { - u16 next; /* 2: */ + lid_t next; /* 2: */ u8 maxcnt; /* 2: */ u8 index; /* 2: next free maplock index */ @@ -242,7 +242,7 @@ struct maplock { #define pxd_lock maplock struct xdlistlock { - u16 next; /* 2: */ + lid_t next; /* 2: */ u8 maxcnt; /* 2: */ u8 index; /* 2: */