Re: How to get deleted files inode from super block | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
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 ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ
[Newbies FAQ] [Kernel List] [Site Home] [IETF Annouce] [Git] [Networking] [Security] [Bugtraq] [Rubini] [Photo] [Yosemite] [MIPS Linux] [ARM Linux] [Linux Security] [Linux Networking] [Linux RAID] [Linux SCSI] [Linux ACPI] [DDR & Rambus] [UNIX Filesystems] [Linux Resources]
![]() |
![]() |