aboutsummaryrefslogtreecommitdiffstats
path: root/litmus/fdso.c
diff options
context:
space:
mode:
Diffstat (limited to 'litmus/fdso.c')
-rw-r--r--litmus/fdso.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/litmus/fdso.c b/litmus/fdso.c
index 85be716941d8..3bb331e471df 100644
--- a/litmus/fdso.c
+++ b/litmus/fdso.c
@@ -29,14 +29,14 @@ static const struct fdso_ops* fdso_ops[] = {
29static void* fdso_create(obj_type_t type) 29static void* fdso_create(obj_type_t type)
30{ 30{
31 if (fdso_ops[type]->create) 31 if (fdso_ops[type]->create)
32 return fdso_ops[type]->create(); 32 return fdso_ops[type]->create(type);
33 else 33 else
34 return NULL; 34 return NULL;
35} 35}
36 36
37static void fdso_destroy(obj_type_t type, void* obj) 37static void fdso_destroy(obj_type_t type, void* obj)
38{ 38{
39 fdso_ops[type]->destroy(obj); 39 fdso_ops[type]->destroy(type, obj);
40} 40}
41 41
42static int fdso_open(struct od_table_entry* entry, void* __user config) 42static int fdso_open(struct od_table_entry* entry, void* __user config)