]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[GFS2] Only two args for kobject_uevent() in locking/dlm/mount.c
authorDavid Teigland <teigland@redhat.com>
Wed, 18 Jan 2006 09:34:14 +0000 (09:34 +0000)
committerSteven Whitehouse <swhiteho@redhat.com>
Wed, 18 Jan 2006 09:34:14 +0000 (09:34 +0000)
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>
fs/gfs2/locking/dlm/mount.c

index bfb224638f2dd1cd7a132615afe1955a5a8ca209..042f3a75c4416173a7d7b8a664e2fd96d4617e77 100644 (file)
@@ -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));