]> git.neil.brown.name Git - history.git/commit
JFS: Fix structure alignment problem on 64-bit machines
authorDave Kleikamp <shaggy@kleikamp.austin.ibm.com>
Fri, 7 Jun 2002 08:54:51 +0000 (03:54 -0500)
committerDave Kleikamp <shaggy@kleikamp.austin.ibm.com>
Fri, 7 Jun 2002 08:54:51 +0000 (03:54 -0500)
commitd1b792b8d2ae0cb24742bca22a40b13713a6a847
tree0d4224c182d0e5fbcf8852de28976397a0a76720
parent3da9cf2895a490d8c7a1a8d78130f66a88e93efa
JFS: Fix structure alignment problem on 64-bit machines

The code in xtLog assumes that the structures xdlistlock_t and
maplock_t are the same size, as they are overlaid.  On 64-bit
machines, this was not the case.

Ensure that the xdlistlock_t is 16 bytes in length regardless of
the size of a pointer.
fs/jfs/jfs_txnmgr.h