search for: ext3_link

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

Did you mean: ext2_link
2003 Feb 18
1
hacking ext3 code
hi, I want to make some changes in ext3_unlink code to make undelete works, i read a lot about it and im planning to put this lines in that function: if (IS_UNDEL(inode)){ trash = ???? ext3_link(dir,dentry,trash); //make a hard link } somebody know how do i get a especific directory dentry using the ext3 functions ? (im planning to use the inode 6 or inode 11 that somebody said that usually point to /lost+found) ********************************** * Daniel Oliveira Nascimento * * Ciê...
2002 Dec 15
0
[patch] ext3 use-after-free bugfix
...err; @@ -934,7 +935,6 @@ static int ext3_symlink (struct inode * } inode->u.ext3_i.i_disksize = inode->i_size; err = ext3_add_nondir(handle, dentry, inode); - ext3_mark_inode_dirty(handle, inode); out_stop: ext3_journal_stop(handle, dir); return err; @@ -971,7 +971,6 @@ static int ext3_link (struct dentry * ol atomic_inc(&inode->i_count); err = ext3_add_nondir(handle, dentry, inode); - ext3_mark_inode_dirty(handle, inode); ext3_journal_stop(handle, dir); return err; } _