diff options
author | Dave Kleikamp <shaggy@austin.ibm.com> | 2005-09-20 21:58:11 +0200 |
---|---|---|
committer | Dave Kleikamp <shaggy@austin.ibm.com> | 2005-09-20 21:58:11 +0200 |
commit | 438282d85de2c8f8c5183fdf55140e51a0b18670 (patch) | |
tree | ee90f834ebbf60d45b11d48c4a3fac82a1b62752 /fs/jfs/jfs_txnmgr.h | |
parent | JFS: Fix sparse warnings, including endian error (diff) | |
download | linux-438282d85de2c8f8c5183fdf55140e51a0b18670.tar.xz linux-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 |