Next, looking the various global LIST_HEAD() in VFS layer, there is
the super_blocks, inode_in_use, and inode_unused. For each of these,
super_blocks as an example, the following will allow u to enumerate
all the items under super_blocks:
list_for_each_entry(sb, &super_blocks, s_list) {
sb->s_count++;
if (sb->s_root && sb->s_bdev && !(sb->s_flags & MS_RDONLY)) {
u can work out the other two...
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [EMAIL PROTECTED]
Please read the FAQ at http://kernelnewbies.org/FAQ