| 997 | } |
| 998 | |
| 999 | static void _chfd_free(int fd, int fdt_type) |
| 1000 | { |
| 1001 | struct dfs_file *d; |
| 1002 | |
| 1003 | d = lwp_fd_get(fdt_type, fd); |
| 1004 | if (d == RT_NULL) |
| 1005 | { |
| 1006 | return; |
| 1007 | } |
| 1008 | lwp_fd_release(fdt_type, fd); |
| 1009 | } |
| 1010 | |
| 1011 | /* for fops */ |
| 1012 | static int channel_fops_poll(struct dfs_file *file, struct rt_pollreq *req) |
no test coverage detected