Allocation of new directory page

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

 



Hi,

When adding a new directory entry, ext2_add_link is called 
which traverses all directory pages looking for an empty 
slot. But if all pages are full, where do we allocate a new
page for the directory ?

Though ext2_get_page is called in the for loop 
(ext2/dir.c::411), but it does not allocate any new page; or rather a new block. I am using 2.4.16 .

Thanks in advance,
Swapnil.


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/


[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