Resending the patch without wrapping - <br><br>Just added the purge_inum() call in tux3.c and tux3fuse.c to remove the inode entry of the deleted file from the ileaf.<br>
Also added a sync_super() in tux3_unlink() of tux3fuse.c. The patch file is attached herewith.<br><br><br>diff -r b99b582fe28c user/tux3.c<br>--- a/user/tux3.c Sun Jan 11 03:57:45 2009 -0800<br>+++ b/user/tux3.c Mon Jan 12 02:16:53 2009 +0530<br>
@@ -265,6 +265,8 @@<br> goto eek;<br> if ((errno = -tree_chop(&inode->btree, &(struct delete_info){ .key = 0 }, -1)))<br> goto eek;<br>+ if ((errno = -purge_inum(&inode->i_sb->itable, inum)))<br>
+ goto eek;<br> if ((errno = -tux_delete_entry(buffer, entry)))<br> goto eek;<br> tux_dump_entries(blockread(sb->rootdir->map, 0));<br>diff -r b99b582fe28c user/tux3fuse.c<br>--- a/user/tux3fuse.c Sun Jan 11 03:57:45 2009 -0800<br>
+++ b/user/tux3fuse.c Mon Jan 12 02:16:53 2009 +0530<br>@@ -353,8 +353,12 @@<br> goto eek;<br> if ((errno = -tree_chop(&inode.btree, &(struct delete_info){ .key = 0 }, -1)))<br> goto eek;<br>
+ if ((errno = -purge_inum(&inode->i_sb->itable, inum)))<br>+ goto eek;<br> if ((errno = -tux_delete_entry(buffer, entry)))<br> goto eek;<br>+ if ((errno = -sync_super(sb)))<br>+ goto eek;<br>
<br> fuse_reply_err(req, 0);<br> return;<br><br>Regards,<br>Kushal Dalmia<br>Chinmay Kamat<br>Gaurav Tungatkar<br>Amey Magar<br>