On Wednesday 03 February 2010 20:41:13 김원일 wrote: > Sir. Charles Manninq... > > I have a question about yaffs filesystem. > > I have 1~2 step. As follows. > > [1 step] create org.dat > touch org.dat > > [2 step] Making Hardlink > ln org.dat hardlink.dat > > > > this time, 2 step running...... > What information in this "struct dentry *old_dentry" is already there? > > old_dentry of conten is dentry of org.dat? ..... dentry of org.dat... That > was right? [ In yaffs_fs.c ] > > [ In yaffs_fs.c] > static int yaffs_link(struct dentry *old_dentry, struct inode *dir, struct > dentry *dentry) > Yes that is correct. static int yaffs_link(struct dentry *old_dentry, struct inode *dir, struct dentry *dentry) old_dentry is org.dat dir is the directory the new entry is going in to hardlink.dat is the new dentry --Charles