Dear folks,

i wondered why directory lengths are specified in blocksize units resulting 
in the last dirent in the block to fill up the space with its rec_len. 
Searching for free space to enter a directory entry i could use 
rec_len - NILFS_DIR_REC_LEN(last_dir_enty->namelen) as free space indicator 
but i wondered if it might not be a better practice to allow zero-length 
dir entries that are used to fill up the rest of the block with its 
rec_len.

Thoughts?

With regards,
Reinoud


Attachment: pgpctf67VOcPD.pgp
Description: PGP signature

_______________________________________________
users mailing list
[email protected]
https://www.nilfs.org/mailman/listinfo/users

Reply via email to