[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

struct files_struct.



Hi
i can't access 'struct files_struct' 's next_fd field, I get segmentation
fault, whenever i try
to access this field.
Is there any relation between next_fd and it's it's next field struct
file**fd?
I am working with 2.4.2 and you can see these struct's in sched.h.
Pls help!
struct task_struct {
    ...
    struct files_struct *files;
     ....
}
struct files_struct {
  ...
  int next_id,
  strcut file** fd;
   ...
}

Thanks and Regards
Venkat Narayana
-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.surriel.com/kernelnewbies.shtml