diff options
author | Dave Kleikamp <shaggy@austin.ibm.com> | 2005-09-20 14:58:11 -0500 |
---|---|---|
committer | Dave Kleikamp <shaggy@austin.ibm.com> | 2005-09-20 14:58:11 -0500 |
commit | 438282d85de2c8f8c5183fdf55140e51a0b18670 (patch) | |
tree | ee90f834ebbf60d45b11d48c4a3fac82a1b62752 /fs/jfs/jfs_txnmgr.h | |
parent | 6cb1269b9607649b5edf1c4e7818e0cf34a9db71 (diff) | |
download | lwn-438282d85de2c8f8c5183fdf55140e51a0b18670.tar.gz lwn-438282d85de2c8f8c5183fdf55140e51a0b18670.zip |
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.h | 1 |
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 */ #define tlckLOG 0x0800 /* updateMap state */ #define tlckUPDATEMAP 0x0080 +#define tlckDIRECTORY 0x0040 /* freeLock state */ #define tlckFREELOCK 0x0008 #define tlckWRITEPAGE 0x0004 |