Robert Rappaport
2009-01-30 23:08:45 UTC
In routine, ext3cow_rmdir(), in the following code sequence:
inode->i_version++;
/* We only delete things that were created in the same epoch -znjp */
if(de->birth_epoch == de->death_epoch){
it seems to me that the modification of inode->i_version should only
occur within the scope of the "if" statement, in that we should not
modify the version of the inode if we do not delete it. If I am
mistaken could you please tel me why.
Thanks.
- Robert
P.S. In a previous message I indicated that I believed that
manipulations of bitmaps in indirect blocks were incorrect because
they lacked invocations of cpu_to_le32(). These problems occur in
routines ext3cow_get_branch() and ext3_alloc_branch().
inode->i_version++;
/* We only delete things that were created in the same epoch -znjp */
if(de->birth_epoch == de->death_epoch){
it seems to me that the modification of inode->i_version should only
occur within the scope of the "if" statement, in that we should not
modify the version of the inode if we do not delete it. If I am
mistaken could you please tel me why.
Thanks.
- Robert
P.S. In a previous message I indicated that I believed that
manipulations of bitmaps in indirect blocks were incorrect because
they lacked invocations of cpu_to_le32(). These problems occur in
routines ext3cow_get_branch() and ext3_alloc_branch().