diff options
author | zhenwei.pi <zhenwei.pi@youruncloud.com> | 2018-03-26 01:44:03 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2018-03-26 01:44:03 -0400 |
commit | dcae058a8da9c3cfc0055c7937ccd1a3dd0382a8 (patch) | |
tree | 9b0ce0653c5afe49c3010b660e7d6de9f51b6c83 /fs/ext4/extents.c | |
parent | 043d20d1592a194b96fb19282396e46cda633180 (diff) |
ext4: fix comments in ext4_swap_extents()
"mark_unwritten" in comment and "unwritten" in the function arguments
is mismatched.
Signed-off-by: zhenwei.pi <zhenwei.pi@youruncloud.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/extents.c')
-rw-r--r-- | fs/ext4/extents.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c index 837f0a6357c7..0a7315961bac 100644 --- a/fs/ext4/extents.c +++ b/fs/ext4/extents.c | |||
@@ -5742,7 +5742,7 @@ out_mutex: | |||
5742 | * @lblk1: Start block for first inode | 5742 | * @lblk1: Start block for first inode |
5743 | * @lblk2: Start block for second inode | 5743 | * @lblk2: Start block for second inode |
5744 | * @count: Number of blocks to swap | 5744 | * @count: Number of blocks to swap |
5745 | * @mark_unwritten: Mark second inode's extents as unwritten after swap | 5745 | * @unwritten: Mark second inode's extents as unwritten after swap |
5746 | * @erp: Pointer to save error value | 5746 | * @erp: Pointer to save error value |
5747 | * | 5747 | * |
5748 | * This helper routine does exactly what is promise "swap extents". All other | 5748 | * This helper routine does exactly what is promise "swap extents". All other |
@@ -5756,7 +5756,7 @@ out_mutex: | |||
5756 | */ | 5756 | */ |
5757 | int | 5757 | int |
5758 | ext4_swap_extents(handle_t *handle, struct inode *inode1, | 5758 | ext4_swap_extents(handle_t *handle, struct inode *inode1, |
5759 | struct inode *inode2, ext4_lblk_t lblk1, ext4_lblk_t lblk2, | 5759 | struct inode *inode2, ext4_lblk_t lblk1, ext4_lblk_t lblk2, |
5760 | ext4_lblk_t count, int unwritten, int *erp) | 5760 | ext4_lblk_t count, int unwritten, int *erp) |
5761 | { | 5761 | { |
5762 | struct ext4_ext_path *path1 = NULL; | 5762 | struct ext4_ext_path *path1 = NULL; |