summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/locking/dlm/mount.c
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2006-04-26 15:56:35 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2006-04-26 15:56:35 -0400
commit6bd70aba5ab453459bb53b1e29f0e0650d6c311f (patch)
tree4fd79cf7dd69c19e08d7fcd0222e83d9b9358ffe /fs/gfs2/locking/dlm/mount.c
parent579b78a43b366d51f9c888afaf1eab1f4ea599fa (diff)
downloadlinux-6bd70aba5ab453459bb53b1e29f0e0650d6c311f.tar.gz
linux-6bd70aba5ab453459bb53b1e29f0e0650d6c311f.tar.bz2
linux-6bd70aba5ab453459bb53b1e29f0e0650d6c311f.zip
[DLM] lock_dlm recover_status patch
This saves the journal recovery result and makes it visible through sysfs. User space needs to know if the node actually recovered the journal or tried and gave up. Signed-off-by: David Teigland <teigland@redhat.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/locking/dlm/mount.c')
-rw-r--r--fs/gfs2/locking/dlm/mount.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/gfs2/locking/dlm/mount.c b/fs/gfs2/locking/dlm/mount.c
index 026f05ce168d..aa79fbecaf6a 100644
--- a/fs/gfs2/locking/dlm/mount.c
+++ b/fs/gfs2/locking/dlm/mount.c
@@ -203,6 +203,7 @@ static void gdlm_recovery_done(lm_lockspace_t *lockspace, unsigned int jid,
{
struct gdlm_ls *ls = (struct gdlm_ls *) lockspace;
ls->recover_jid_done = jid;
+ ls->recover_jid_status = message;
kobject_uevent(&ls->kobj, KOBJ_CHANGE);
}