]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit403cf6f4c7371081cc1c914abbc5f1f28c342fee
treea06b4fa59672fd6fa9dd884e1e0bc746adc011b6
parent1324d63c3094b3803aca14bab60d7e21266264fd
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