summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHaiboLiu2012-07-09 22:29:28 +0200
committerTheodore Ts'o2012-07-09 22:29:28 +0200
commite7bcf8230498b9568e09d74e296e71a01e024006 (patch)
tree63dfb96c2c5c8e6a90acb4358b858a106a521481
parentext4: use s_csum_seed instead of i_csum_seed for xattr block (diff)
downloadkernel-qcow2-linux-e7bcf8230498b9568e09d74e296e71a01e024006.tar.gz
kernel-qcow2-linux-e7bcf8230498b9568e09d74e296e71a01e024006.tar.xz
kernel-qcow2-linux-e7bcf8230498b9568e09d74e296e71a01e024006.zip
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>
-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:
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);