diff --git a/fs/jfs/jfs_txnmgr.c b/fs/jfs/jfs_txnmgr.c index 7840a03e5bcb..a69bb5f25301 100644 --- a/fs/jfs/jfs_txnmgr.c +++ b/fs/jfs/jfs_txnmgr.c @@ -1073,7 +1073,7 @@ struct linelock *txLinelock(struct linelock * tlock)         TXN_UNLOCK();         /* initialize linelock */ -       linelock = (struct linelock *) tlck; +       linelock = (struct linelock *) tlck->lock;         linelock->next = 0;         linelock->flag = tlckLINELOCK;         linelock->maxcnt = TLOCKLONG;