aboutsummaryrefslogtreecommitdiff
path: root/fs/jfs/jfs_txnmgr.h
diff options
context:
space:
mode:
authorDave Kleikamp <shaggy@austin.ibm.com>2005-09-20 14:58:11 -0500
committerDave Kleikamp <shaggy@austin.ibm.com>2005-09-20 14:58:11 -0500
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 59ad0f6b723..0e4dc4514c4 100644
--- a/fs/jfs/jfs_txnmgr.h
+++ b/fs/jfs/jfs_txnmgr.h
@@ -122,6 +122,7 @@ extern struct tlock *TxLock; /* transaction lock table */
#define tlckLOG 0x0800
/* updateMap state */
#define tlckUPDATEMAP 0x0080
+#define tlckDIRECTORY 0x0040
/* freeLock state */
#define tlckFREELOCK 0x0008
#define tlckWRITEPAGE 0x0004