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


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux