search for: ext2_dir_entry_2

Displaying 2 results from an estimated 2 matches for "ext2_dir_entry_2".

2006 Apr 27
1
Whats this for a block?
Hi, I have got a question concerning directory entries. I have the following block containing exactly the filenames I had in one specified folder on the same file system: http://www.sbox.tugraz.at/home/n/nobaq/ext2.dat I really hoped that this is an directory block which could point me to the inode of the files. But when I try to extract the data, I only get garbage. I'm reading the
2010 Mar 20
2
[PATCH 4/4] btrfs-convert: split into convert/.
...c int dir_iterate_proc(ext2_ino_t dir, int entry, - struct ext2_dir_entry *old, - int offset, int blocksize, - char *buf,void *priv_data) -{ - int ret; - int file_type; - u64 objectid; - u64 inode_size; - char dotdot[] = ".."; - struct btrfs_key location; - struct ext2_dir_entry_2 *dirent = (struct ext2_dir_entry_2 *)old; - struct dir_iterate_data *idata = (struct dir_iterate_data *)priv_data; - - objectid = dirent->inode + INO_OFFSET; - if (!strncmp(dirent->name, dotdot, dirent->name_len)) { - if (dirent->name_len == 2) { - BUG_ON(idata->parent != 0); -...