summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/locking/dlm/mount.c
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2006-01-18 09:34:14 +0000
committerSteven Whitehouse <swhiteho@redhat.com>2006-01-18 09:34:14 +0000
commit5ddec5b3d79eed6df1a37be435f183915a4b696a (patch)
tree5e3067dd2978c2035b43ee93660bb8d6ca3e8fb1 /fs/gfs2/locking/dlm/mount.c
parente7fd41792fc0ee52a05fcaac87511f118328d147 (diff)
downloadop-kernel-dev-5ddec5b3d79eed6df1a37be435f183915a4b696a.zip
op-kernel-dev-5ddec5b3d79eed6df1a37be435f183915a4b696a.tar.gz
[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: David Teigland <teigland@redhat.com> Signed-off-by: Steve Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/locking/dlm/mount.c')
-rw-r--r--fs/gfs2/locking/dlm/mount.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/gfs2/locking/dlm/mount.c b/fs/gfs2/locking/dlm/mount.c
index bfb2246..042f3a7 100644
--- a/fs/gfs2/locking/dlm/mount.c
+++ b/fs/gfs2/locking/dlm/mount.c
@@ -195,14 +195,14 @@ 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;
- kobject_uevent(&ls->kobj, KOBJ_CHANGE, NULL);
+ kobject_uevent(&ls->kobj, KOBJ_CHANGE);
}
static void gdlm_others_may_mount(lm_lockspace_t *lockspace)
{
struct gdlm_ls *ls = (struct gdlm_ls *) lockspace;
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
@@ -213,7 +213,7 @@ static void gdlm_withdraw(lm_lockspace_t *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,
test_bit(DFL_WITHDRAW, &ls->flags));
OpenPOWER on IntegriCloud