aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/incore.h
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2007-11-08 09:55:03 -0500
committerSteven Whitehouse <swhiteho@redhat.com>2008-01-25 03:07:54 -0500
commitfd041f0b4045db8646b36d393cbb274db60649f5 (patch)
treedd09e7317eb471d45c685e3269bd3c20dc686f3e /fs/gfs2/incore.h
parent2bcd610d2fdea608a8fdac32788fc35a32a2327c (diff)
[GFS2] Use atomic_t for journal free blocks counter
This patch changes the counter which keeps track of the free blocks in the journal to an atomic_t in preparation for the following patch which will update the log reservation code. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/incore.h')
-rw-r--r--fs/gfs2/incore.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/incore.h b/fs/gfs2/incore.h
index 911822d1e4c0..7ae0206e9a61 100644
--- a/fs/gfs2/incore.h
+++ b/fs/gfs2/incore.h
@@ -595,7 +595,7 @@ struct gfs2_sbd {
595 struct list_head sd_log_le_databuf; 595 struct list_head sd_log_le_databuf;
596 struct list_head sd_log_le_ordered; 596 struct list_head sd_log_le_ordered;
597 597
598 unsigned int sd_log_blks_free; 598 atomic_t sd_log_blks_free;
599 struct mutex sd_log_reserve_mutex; 599 struct mutex sd_log_reserve_mutex;
600 600
601 u64 sd_log_sequence; 601 u64 sd_log_sequence;