]> err.no Git - linux-2.6/commit
[PATCH] JFS: Take logsync lock before testing mp->lsn
authorDave Kleikamp <shaggy@austin.ibm.com>
Tue, 14 Mar 2006 19:44:00 +0000 (13:44 -0600)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 14 Mar 2006 22:00:48 +0000 (14:00 -0800)
commita488edc914aa1d766a4e2c982b5ae03d5657ec1b
treef31e123b8d979d5a01260cbfa12ba2052254df85
parent0f511ea70600efb1e06d7b55e1c51a83aff8713c
[PATCH] JFS: Take logsync lock before testing mp->lsn

This fixes a race where lsn could be cleared before taking the lock

Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/jfs/jfs_dmap.c
fs/jfs/jfs_imap.c