Commit 5ddec5b3 authored by David Teigland's avatar David Teigland Committed by Steven Whitehouse

[GFS2] Only two args for kobject_uevent() in locking/dlm/mount.c

Update the dlm interface module to take account of the recently
removed third argument to kobject_uevent()
Signed-off-by: default avatarDavid Teigland <teigland@redhat.com>
Signed-off-by: default avatarSteve Whitehouse <swhiteho@redhat.com>
parent e7fd4179
...@@ -195,14 +195,14 @@ static void gdlm_recovery_done(lm_lockspace_t *lockspace, unsigned int jid, ...@@ -195,14 +195,14 @@ static void gdlm_recovery_done(lm_lockspace_t *lockspace, unsigned int jid,
{ {
struct gdlm_ls *ls = (struct gdlm_ls *) lockspace; struct gdlm_ls *ls = (struct gdlm_ls *) lockspace;
ls->recover_jid_done = jid; ls->recover_jid_done = jid;
kobject_uevent(&ls->kobj, KOBJ_CHANGE, NULL); kobject_uevent(&ls->kobj, KOBJ_CHANGE);
} }
static void gdlm_others_may_mount(lm_lockspace_t *lockspace) static void gdlm_others_may_mount(lm_lockspace_t *lockspace)
{ {
struct gdlm_ls *ls = (struct gdlm_ls *) lockspace; struct gdlm_ls *ls = (struct gdlm_ls *) lockspace;
ls->first_done = 1; ls->first_done = 1;
kobject_uevent(&ls->kobj, KOBJ_CHANGE, NULL); kobject_uevent(&ls->kobj, KOBJ_CHANGE);
} }
/* Userspace gets the offline uevent, blocks new gfs locks on /* Userspace gets the offline uevent, blocks new gfs locks on
...@@ -213,7 +213,7 @@ static void gdlm_withdraw(lm_lockspace_t *lockspace) ...@@ -213,7 +213,7 @@ static void gdlm_withdraw(lm_lockspace_t *lockspace)
{ {
struct gdlm_ls *ls = (struct gdlm_ls *) lockspace; struct gdlm_ls *ls = (struct gdlm_ls *) lockspace;
kobject_uevent(&ls->kobj, KOBJ_OFFLINE, NULL); kobject_uevent(&ls->kobj, KOBJ_OFFLINE);
wait_event_interruptible(ls->wait_control, wait_event_interruptible(ls->wait_control,
test_bit(DFL_WITHDRAW, &ls->flags)); test_bit(DFL_WITHDRAW, &ls->flags));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment