]> err.no Git - linux-2.6/commit
JFS: Take logsync lock before testing mp->lsn
authorDave Kleikamp <shaggy@austin.ibm.com>
Wed, 8 Mar 2006 16:59:15 +0000 (10:59 -0600)
committerDave Kleikamp <shaggy@austin.ibm.com>
Wed, 8 Mar 2006 16:59:15 +0000 (10:59 -0600)
commitbe0bf7da19135a7a0f8c275f20c819940be218d9
treec8ba72b711730ce11f52fc20cd7c0e9c4bee7bc0
parent5b3030e39049212c975665cdb3eeabcfaf7c94ca
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>
fs/jfs/jfs_dmap.c
fs/jfs/jfs_imap.c