summaryrefslogtreecommitdiffstats
path: root/fs/notify/vfsmount_mark.c
diff options
context:
space:
mode:
authorDmitry Monakhov <dmonakhov@openvz.org>2011-10-22 01:26:05 -0400
committerTheodore Ts'o <tytso@mit.edu>2011-10-22 01:26:05 -0400
commit1939dd84b3f52e9c8d1b46dffae2058f16a3ff6a (patch)
treef1b30614ea4c4e991abb279c9d7d181e207c7148 /fs/notify/vfsmount_mark.c
parent45dc63e7d8412546567399b94caeb683af58843e (diff)
ext4: cleanup ext4_ext_grow_indepth code
Currently code make an impression what grow procedure is very complicated and some mythical paths, blocks are involved. But in fact grow in depth it relatively simple procedure: 1) Just create new meta block and copy root data to that block. 2) Convert root from extent to index if old depth == 0 3) Update root block pointer This patch does: - Reorganize code to make it more self explanatory - Do not pass path parameter to new_meta_block() in order to provoke allocation from inode's group because top-level block should site closer to it's inode, but not to leaf data block. [ This happens anyway, due to logic in mballoc; we should drop the path parameter from new_meta_block() entirely. -- tytso ] Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/notify/vfsmount_mark.c')
0 files changed, 0 insertions, 0 deletions