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 | |
parent | 043d20d1592a194b96fb19282396e46cda633180 (diff) | |
download | linux-dcae058a8da9c3cfc0055c7937ccd1a3dd0382a8.tar.bz2 |
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')
-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: * @lblk1: Start block for first inode * @lblk2: Start block for second inode * @count: Number of blocks to swap - * @mark_unwritten: Mark second inode's extents as unwritten after swap + * @unwritten: Mark second inode's extents as unwritten after swap * @erp: Pointer to save error value * * This helper routine does exactly what is promise "swap extents". All other @@ -5756,7 +5756,7 @@ out_mutex: */ int ext4_swap_extents(handle_t *handle, struct inode *inode1, - struct inode *inode2, ext4_lblk_t lblk1, ext4_lblk_t lblk2, + struct inode *inode2, ext4_lblk_t lblk1, ext4_lblk_t lblk2, ext4_lblk_t count, int unwritten, int *erp) { struct ext4_ext_path *path1 = NULL; |