aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4
diff options
context:
space:
mode:
authorHaiboLiu <HaiboLiu6@gmail.com>2012-07-09 16:29:28 -0400
committerTheodore Ts'o <tytso@mit.edu>2012-07-09 16:29:28 -0400
commite7bcf8230498b9568e09d74e296e71a01e024006 (patch)
tree63dfb96c2c5c8e6a90acb4358b858a106a521481 /fs/ext4
parent41eb70dde42b2360074a559a6f1fc49860a50179 (diff)
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>
Diffstat (limited to 'fs/ext4')
-rw-r--r--fs/ext4/extents.c3
1 files changed, 1 insertions, 2 deletions
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:
1891 nearex->ee_len = newext->ee_len; 1891 nearex->ee_len = newext->ee_len;
1892 1892
1893merge: 1893merge:
1894 /* try to merge extents to the right */ 1894 /* try to merge extents */
1895 if (!(flag & EXT4_GET_BLOCKS_PRE_IO)) 1895 if (!(flag & EXT4_GET_BLOCKS_PRE_IO))
1896 ext4_ext_try_to_merge(inode, path, nearex); 1896 ext4_ext_try_to_merge(inode, path, nearex);
1897 1897
1898 /* try to merge extents to the left */
1899 1898
1900 /* time to correct all indexes above */ 1899 /* time to correct all indexes above */
1901 err = ext4_ext_correct_indexes(handle, inode, path); 1900 err = ext4_ext_correct_indexes(handle, inode, path);