http://oss.sgi.com/bugzilla/show_bug.cgi?id=733
------- Additional Comments From sandeen-xfs@xxxxxxxxxxx 2006-12-21 14:37 CST
-------
So I think this is what's doing it, in xfs_rename():
/*
* Remove the source.
*/
if (new_parent && src_is_directory) {
/*
* Rewrite the ".." entry to point to the new
* directory.
*/
error = xfs_dir_replace(tp, src_ip, "..", 2, target_dp->i_ino,
&first_block, &free_list, spaceres);
ASSERT(error != EEXIST);
if (error)
goto abort_return;
xfs_ichgtime(src_ip, XFS_ICHGTIME_MOD | XFS_ICHGTIME_CHG);
}
But actually this makes sense; the ".." entry of the moved directory now points
somewhere other than it did prior to the move. IOW, the directory data -did-
change. At least that's how I read it.
If people concur, I'll fix ext3 ;-)
--
Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
|