June 13, 2010

file system info and filesystem information


Hi,
re: file system info and filesystem information
When I browse the struct task_struct, there are 3 similar fields. . .

//1. file system info
int link_count, total_link_count;
. . .
//2. filesystem information
struct fs_struct *fs;
. . .
//3. open file information
struct files_struct *files;

Anyone know the differences?