xfs: convert log grant heads to atomic variables
authorDave Chinner <dchinner@redhat.com>
Fri, 3 Dec 2010 13:02:40 +0000 (00:02 +1100)
committerDave Chinner <david@fromorbit.com>
Fri, 3 Dec 2010 13:02:40 +0000 (00:02 +1100)
commitc8a09ff8ca2235bccdaea8a52fbd5349646a8ba4
treea06b4fa59672fd6fa9dd884e1e0bc746adc011b6
parent1c3cb9ec07fabf0c0970adc46fd2a1f09c1186dd
xfs: convert log grant heads to atomic variables

Convert the log grant heads to atomic64_t types in preparation for
converting the accounting algorithms to atomic operations. his patch
just converts the variables; the algorithmic changes are in a
separate patch for clarity.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/xfs_log.c
fs/xfs/xfs_log_priv.h