Rev 3536 | Rev 4377 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3536 | Rev 3597 | ||
---|---|---|---|
Line 189... | Line 189... | ||
189 | ipc_answer_0(rid, ENOTDIR); |
189 | ipc_answer_0(rid, ENOTDIR); |
190 | goto out; |
190 | goto out; |
191 | } |
191 | } |
192 | void *nodep; |
192 | void *nodep; |
193 | if (lflag & L_CREATE) |
193 | if (lflag & L_CREATE) |
194 | nodep = ops->create(lflag); |
194 | nodep = ops->create(dev_handle, lflag); |
195 | else |
195 | else |
196 | nodep = ops->node_get(dev_handle, |
196 | nodep = ops->node_get(dev_handle, |
197 | index); |
197 | index); |
198 | if (nodep) { |
198 | if (nodep) { |
199 | if (!ops->link(cur, nodep, component)) { |
199 | if (!ops->link(cur, nodep, component)) { |
Line 260... | Line 260... | ||
260 | assert(len); |
260 | assert(len); |
261 | component[len] = '\0'; |
261 | component[len] = '\0'; |
262 | 262 | ||
263 | void *nodep; |
263 | void *nodep; |
264 | if (lflag & L_CREATE) |
264 | if (lflag & L_CREATE) |
265 | nodep = ops->create(lflag); |
265 | nodep = ops->create(dev_handle, lflag); |
266 | else |
266 | else |
267 | nodep = ops->node_get(dev_handle, index); |
267 | nodep = ops->node_get(dev_handle, index); |
268 | if (nodep) { |
268 | if (nodep) { |
269 | if (!ops->link(cur, nodep, component)) { |
269 | if (!ops->link(cur, nodep, component)) { |
270 | if (lflag & L_CREATE) |
270 | if (lflag & L_CREATE) |