]> err.no Git - linux-2.6/commit
JFS: Fix race in txLock
authorDave Kleikamp <shaggy@austin.ibm.com>
Wed, 10 Aug 2005 16:14:39 +0000 (11:14 -0500)
committerDave Kleikamp <shaggy@austin.ibm.com>
Wed, 10 Aug 2005 16:14:39 +0000 (11:14 -0500)
commit8a9cd6d676728792aaee31f30015d284acd154a3
tree7e40b3b1802b1a86603f7ac6bf74906775a2956e
parenta5c96cab8f3c4ca9b2177dceb5de5a0edb31418e
JFS: Fix race in txLock

TxAnchor.anon_list is protected by jfsTxnLock (TXN_LOCK), but there was
a place in txLock() that was removing an entry from the list without holding
the spinlock.

Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com>
fs/jfs/jfs_txnmgr.c
fs/jfs/super.c