From: zhenwei.pi Date: Mon, 26 Mar 2018 05:44:03 +0000 (-0400) Subject: ext4: fix comments in ext4_swap_extents() X-Git-Tag: v4.17-rc1~134^2~15 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dcae058a8da9c3cfc0055c7937ccd1a3dd0382a8;p=thirdparty%2Fkernel%2Flinux.git ext4: fix comments in ext4_swap_extents() "mark_unwritten" in comment and "unwritten" in the function arguments is mismatched. Signed-off-by: zhenwei.pi Signed-off-by: Theodore Ts'o --- diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c index 837f0a6357c72..0a7315961bac6 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;