git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
This commit was manufactured by cvs2svn to create tag
[linux-2.6.git]
/
fs
/
ext3
/
ialloc.c
diff --git
a/fs/ext3/ialloc.c
b/fs/ext3/ialloc.c
index
ac238b2
..
11ac3c2
100644
(file)
--- a/
fs/ext3/ialloc.c
+++ b/
fs/ext3/ialloc.c
@@
-581,10
+581,11
@@
got:
ei->i_file_acl = 0;
ei->i_dir_acl = 0;
ei->i_dtime = 0;
ei->i_file_acl = 0;
ei->i_dir_acl = 0;
ei->i_dtime = 0;
-#ifdef EXT3_PREALLOCATE
- ei->i_prealloc_block = 0;
- ei->i_prealloc_count = 0;
-#endif
+ ei->i_rsv_window.rsv_start = 0;
+ ei->i_rsv_window.rsv_end = 0;
+ atomic_set(&ei->i_rsv_window.rsv_goal_size, EXT3_DEFAULT_RESERVE_BLOCKS);
+ ei->i_rsv_window.rsv_alloc_hit = 0;
+ INIT_LIST_HEAD(&ei->i_rsv_window.rsv_list);
ei->i_block_group = group;
ext3_set_inode_flags(inode);
ei->i_block_group = group;
ext3_set_inode_flags(inode);