2012-05-18 07:04:59

by Wang Sheng-Hui

[permalink] [raw]
Subject: [PATCH] ext2: trivial fix to comment for ext2_free_blocks

The function is ext2_free_blocks(), not ext2_free_blocks_sb().

Signed-off-by: Wang Sheng-Hui <[email protected]>
---
fs/ext2/balloc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fs/ext2/balloc.c b/fs/ext2/balloc.c
index a8cbe1b..1a6bf5e 100644
--- a/fs/ext2/balloc.c
+++ b/fs/ext2/balloc.c
@@ -479,7 +479,7 @@ void ext2_discard_reservation(struct inode *inode)
}

/**
- * ext2_free_blocks_sb() -- Free given blocks and update quota and i_blocks
+ * ext2_free_blocks() -- Free given blocks and update quota and i_blocks
* @inode: inode
* @block: start physcial block to free
* @count: number of blocks to free
--
1.7.1



2012-05-18 13:25:45

by Jan Kara

[permalink] [raw]
Subject: Re: [PATCH] ext2: trivial fix to comment for ext2_free_blocks

On Fri 18-05-12 15:04:45, Wang Sheng-Hui wrote:
> The function is ext2_free_blocks(), not ext2_free_blocks_sb().
Thanks. Merged.

Honza
>
> Signed-off-by: Wang Sheng-Hui <[email protected]>
> ---
> fs/ext2/balloc.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/fs/ext2/balloc.c b/fs/ext2/balloc.c
> index a8cbe1b..1a6bf5e 100644
> --- a/fs/ext2/balloc.c
> +++ b/fs/ext2/balloc.c
> @@ -479,7 +479,7 @@ void ext2_discard_reservation(struct inode *inode)
> }
>
> /**
> - * ext2_free_blocks_sb() -- Free given blocks and update quota and i_blocks
> + * ext2_free_blocks() -- Free given blocks and update quota and i_blocks
> * @inode: inode
> * @block: start physcial block to free
> * @count: number of blocks to free
> --
> 1.7.1
>
--
Jan Kara <[email protected]>
SUSE Labs, CR