2019-11-04 11:56:48

by Chengguang Xu

[permalink] [raw]
Subject: [PATCH 5/5] ext2: fix improper function comment

Just fix a improper function comment.

Signed-off-by: Chengguang Xu <[email protected]>
---
fs/ext2/balloc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/ext2/balloc.c b/fs/ext2/balloc.c
index 9a9bd566243d..4180467122d0 100644
--- a/fs/ext2/balloc.c
+++ b/fs/ext2/balloc.c
@@ -749,7 +749,7 @@ ext2_try_to_allocate(struct super_block *sb, int group,
* but we will shift to the place where start_block is,
* then start from there, when looking for a reservable space.
*
- * @size: the target new reservation window size
+ * @sb: the super block.
*
* @group_first_block: the first block we consider to start
* the real search from
--
2.20.1




2019-11-06 16:02:15

by Jan Kara

[permalink] [raw]
Subject: Re: [PATCH 5/5] ext2: fix improper function comment

On Mon 04-11-19 19:40:36, Chengguang Xu wrote:
> Just fix a improper function comment.
>
> Signed-off-by: Chengguang Xu <[email protected]>

Thanks, applied! I've also fixed @group_first_block as that should be
@start_block.

Honza

> ---
> fs/ext2/balloc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fs/ext2/balloc.c b/fs/ext2/balloc.c
> index 9a9bd566243d..4180467122d0 100644
> --- a/fs/ext2/balloc.c
> +++ b/fs/ext2/balloc.c
> @@ -749,7 +749,7 @@ ext2_try_to_allocate(struct super_block *sb, int group,
> * but we will shift to the place where start_block is,
> * then start from there, when looking for a reservable space.
> *
> - * @size: the target new reservation window size
> + * @sb: the super block.
> *
> * @group_first_block: the first block we consider to start
> * the real search from
> --
> 2.20.1
>
>
>
--
Jan Kara <[email protected]>
SUSE Labs, CR