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 3bb331e471df..faede9bcbbbf 100644
--- a/litmus/fdso.c
+++ b/litmus/fdso.c
@@ -190,7 +190,7 @@ static int do_sys_od_open(struct file* file, obj_type_t type, int id,
190 entry->used = 0; 190 entry->used = 0;
191 } else { 191 } else {
192 entry->obj = obj; 192 entry->obj = obj;
193 entry->extra = NULL; 193 entry->class = fdso_ops[type];
194 idx = entry - current->od_table; 194 idx = entry - current->od_table;
195 } 195 }
196 196
@@ -209,7 +209,7 @@ static int do_sys_od_open(struct file* file, obj_type_t type, int id,
209} 209}
210 210
211 211
212struct od_table_entry* __od_lookup(int od) 212struct od_table_entry* get_entry_for_od(int od)
213{ 213{
214 struct task_struct *t = current; 214 struct task_struct *t = current;
215 215