aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jfs/jfs_txnmgr.h
diff options
context:
space:
mode:
authorDave Kleikamp <shaggy@austin.ibm.com>2005-09-20 15:58:11 -0400
committerDave Kleikamp <shaggy@austin.ibm.com>2005-09-20 15:58:11 -0400
commit438282d85de2c8f8c5183fdf55140e51a0b18670 (patch)
treeee90f834ebbf60d45b11d48c4a3fac82a1b62752 /fs/jfs/jfs_txnmgr.h
parent6cb1269b9607649b5edf1c4e7818e0cf34a9db71 (diff)
JFS: don't dereference tlck->ip from txUpdateMap
The inode pointer may no longer be valid Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com>
Diffstat (limited to 'fs/jfs/jfs_txnmgr.h')
-rw-r--r--fs/jfs/jfs_txnmgr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/jfs/jfs_txnmgr.h b/fs/jfs/jfs_txnmgr.h
index 59ad0f6b7231..0e4dc4514c47 100644
--- a/fs/jfs/jfs_txnmgr.h
+++ b/fs/jfs/jfs_txnmgr.h
@@ -122,6 +122,7 @@ extern struct tlock *TxLock; /* transaction lock table */
122#define tlckLOG 0x0800 122#define tlckLOG 0x0800
123/* updateMap state */ 123/* updateMap state */
124#define tlckUPDATEMAP 0x0080 124#define tlckUPDATEMAP 0x0080
125#define tlckDIRECTORY 0x0040
125/* freeLock state */ 126/* freeLock state */
126#define tlckFREELOCK 0x0008 127#define tlckFREELOCK 0x0008
127#define tlckWRITEPAGE 0x0004 128#define tlckWRITEPAGE 0x0004