patch-2.4.20 linux-2.4.20/fs/ext2/dir.c
Next file: linux-2.4.20/fs/ext2/ialloc.c
Previous file: linux-2.4.20/fs/exec.c
Back to the patch index
Back to the overall index
- Lines: 24
- Date:
Thu Nov 28 15:53:15 2002
- Orig file:
linux-2.4.19/fs/ext2/dir.c
- Orig date:
Mon Feb 25 11:38:08 2002
diff -urN linux-2.4.19/fs/ext2/dir.c linux-2.4.20/fs/ext2/dir.c
@@ -390,6 +390,7 @@
UnlockPage(page);
ext2_put_page(page);
dir->i_mtime = dir->i_ctime = CURRENT_TIME;
+ dir->u.ext2_i.i_flags &= ~EXT2_BTREE_FL;
mark_inode_dirty(dir);
}
@@ -456,6 +457,7 @@
ext2_set_de_type (de, inode);
err = ext2_commit_chunk(page, from, to);
dir->i_mtime = dir->i_ctime = CURRENT_TIME;
+ dir->u.ext2_i.i_flags &= ~EXT2_BTREE_FL;
mark_inode_dirty(dir);
/* OFFSET_CACHE */
out_unlock:
@@ -498,6 +500,7 @@
UnlockPage(page);
ext2_put_page(page);
inode->i_ctime = inode->i_mtime = CURRENT_TIME;
+ inode->u.ext2_i.i_flags &= ~EXT2_BTREE_FL;
mark_inode_dirty(inode);
return err;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)