From: HaiboLiu Date: Mon, 9 Jul 2012 20:29:28 +0000 (-0400) Subject: ext4: fix out-of-date comments in extents.c X-Git-Tag: next-20120724~94^2~16 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=e7bcf8230498b9568e09d74e296e71a01e024006;p=karo-tx-linux.git 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 Signed-off-by: "Theodore Ts'o" --- diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c index f1089cba913a..46b5c9fdc96a 100644 --- a/fs/ext4/extents.c +++ b/fs/ext4/extents.c @@ -1891,11 +1891,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);