xfs: combine grant heads into a single 64 bit integer
authorDave Chinner <dchinner@redhat.com>
Tue, 21 Dec 2010 01:08:20 +0000 (12:08 +1100)
committerDave Chinner <david@fromorbit.com>
Tue, 21 Dec 2010 01:08:20 +0000 (12:08 +1100)
Prepare for switching the grant heads to atomic variables by
combining the two 32 bit values that make up the grant head into a
single 64 bit variable.  Provide wrapper functions to combine and
split the grant heads appropriately for calculations and use them as
necessary.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>

No differences found