ext4: fix out-of-date comments in extents.c
In this patch, ext4_ext_try_to_merge has been change to merge an extent both left and right. So we need to update the comment in here. Signed-off-by: HaiboLiu <HaiboLiu6@gmail.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
This commit is contained in:
Родитель
41eb70dde4
Коммит
e7bcf82304
|
@ -1891,11 +1891,10 @@ has_space:
|
||||||
nearex->ee_len = newext->ee_len;
|
nearex->ee_len = newext->ee_len;
|
||||||
|
|
||||||
merge:
|
merge:
|
||||||
/* try to merge extents to the right */
|
/* try to merge extents */
|
||||||
if (!(flag & EXT4_GET_BLOCKS_PRE_IO))
|
if (!(flag & EXT4_GET_BLOCKS_PRE_IO))
|
||||||
ext4_ext_try_to_merge(inode, path, nearex);
|
ext4_ext_try_to_merge(inode, path, nearex);
|
||||||
|
|
||||||
/* try to merge extents to the left */
|
|
||||||
|
|
||||||
/* time to correct all indexes above */
|
/* time to correct all indexes above */
|
||||||
err = ext4_ext_correct_indexes(handle, inode, path);
|
err = ext4_ext_correct_indexes(handle, inode, path);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче