ext4: change a comment on fs/ext4/extents.c
PATCH v2 1/1 ext4: change a comment on fs/ext4/extents.c
From: HaiboLiu <[email protected]>
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.
v1->v2: update the subject and the patch comment.
Signed-off-by HaiboLiu <[email protected]>
--- fs/ext4/extents.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
fs/ext4/extents.c +1 -2
@@ -1807,11 +1807,10 @@ has_space: nearex->ee_len = newext->ee_len; merge: -/* try to merge extents to the right */ +/* try to merge extents */ if (!(flag &EXT4_GET_BLOCKS_PRE_IO ))ext4_ext_try_to_merge (inode, path, nearex); -/* try to merge extents to the left */ /* time to correct all indexes above */ err =ext4_ext_correct_indexes (handle, inode, path);
Signature · 1 line
1.7.9.5
Quoted 9 lines · Liu Haibo
From: HaiboLiu <[email protected]>
In this patch,
ext4_ext_try_to_mergehas been change to merge an extent both left and right. So we need to update the comment in here.
v1->v2: update the subject and the patch comment.Signed-off-by HaiboLiu <[email protected]>
Applied, thanks.
BTW, in the future, it's better to put the v1-v2 log after the "---" separator.
- Ted