diff options
author | Bob Peterson <rpeterso@redhat.com> | 2014-06-02 17:40:25 +0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2014-06-02 22:12:06 +0400 |
commit | 0e48e055a7dfc0cf17bbabe4d9b523ee0b1a9ed6 (patch) | |
tree | 735690948db93970fda788ca9be1e859eed760d9 /fs/gfs2/incore.h | |
parent | 9dd868e1c009fa1c51bf8d349cda77e0188189fd (diff) | |
download | linux-0e48e055a7dfc0cf17bbabe4d9b523ee0b1a9ed6.tar.xz |
GFS2: Prevent recovery before the local journal is set
This patch uses a completion to prevent dlm's recovery process from
referencing and trying to recover a journal before a journal has been
opened.
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/incore.h')
-rw-r--r-- | fs/gfs2/incore.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/gfs2/incore.h b/fs/gfs2/incore.h index 2434a96f95df..67d310c9ada3 100644 --- a/fs/gfs2/incore.h +++ b/fs/gfs2/incore.h @@ -728,6 +728,8 @@ struct gfs2_sbd { struct gfs2_holder sd_sc_gh; struct gfs2_holder sd_qc_gh; + struct completion sd_journal_ready; + /* Daemon stuff */ struct task_struct *sd_logd_process; |