diff options
author | HaiboLiu <HaiboLiu6@gmail.com> | 2012-07-09 16:29:28 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2012-07-09 16:29:28 -0400 |
commit | e7bcf8230498b9568e09d74e296e71a01e024006 (patch) | |
tree | 63dfb96c2c5c8e6a90acb4358b858a106a521481 /fs/ext4/extents.c | |
parent | 41eb70dde42b2360074a559a6f1fc49860a50179 (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/extents.c')
-rw-r--r-- | fs/ext4/extents.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c index f1089cba913..46b5c9fdc96 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); |