Skip to contentSkip to conversation

ext4 : fix comments in ext4_swap_extents

PATCH In review zhenwei.pi 3 participants 4 messages Mar 19, 2018 – Apr 19, 2018 ext4 file system

lore
Share & tools
lore

zhenwei.pi

author
#0 lore raw

PATCH 1/1 ext4 : fix comments in ext4_swap_extents

"mark_unwritten" in comment and "unwritten" in variable argument lists is mismatch.

---
 fs/ext4/extents.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/ext4/extents.c +1 -1
index 054416e..2fc4227 100644
@@ -5751,7 +5751,7 @@ int ext4_insert_range(struct inode *inode, loff_t offset, loff_t len)
  * @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
Signature · 1 line
2.7.4
reviewer
#1 lore raw
Quoted 4 lines · zhenwei.pi

"mark_unwritten" in comment and "unwritten" in variable argument lists is mismatch.

This seems to have fallen through cracks. The patch looks good to me. Ted, can you please merge it? Thanks!

Honza

Quoted 20 lines
---
 fs/ext4/extents.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/ext4/extents.c +1 -1
index 054416e..2fc4227 100644
@@ -5751,7 +5751,7 @@ int ext4_insert_range(struct inode *inode, loff_t offset, loff_t len)
  * @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
Signature · 1 line
2.7.4
Signature · 2 lines
Jan Kara <[email protected]>
SUSE Labs, CR
maintainer
#2 lore raw
Quoted 8 lines · Jan Kara
Quoted 4 lines · zhenwei.pi

"mark_unwritten" in comment and "unwritten" in variable argument lists is mismatch.

This seems to have fallen through cracks. The patch looks good to me. Ted, can you please merge it? Thanks!

It landed in 4.17-rc1, commit id: dcae058a8da9c

Cheers,

- Ted

reviewer
#3 lore raw
Quoted 11 lines · Theodore Y. Ts'o
Quoted 8 lines · Jan Kara
Quoted 4 lines · zhenwei.pi

"mark_unwritten" in comment and "unwritten" in variable argument lists is mismatch.

This seems to have fallen through cracks. The patch looks good to me. Ted, can you please merge it? Thanks!

It landed in 4.17-rc1, commit id: dcae058a8da9c

Ah, somehow I missed that. Sorry.

Honza

Signature · 2 lines
Jan Kara <[email protected]>
SUSE Labs, CR