Patchwork ext2: trivial fix to comment for ext2_free_blocks

login
register
mail settings
Submitter Wang Sheng-Hui
Date May 18, 2012, 7:04 a.m.
Message ID <4FB5F48D.1090902@gmail.com>
Download mbox | patch
Permalink /patch/160047/
State Not Applicable
Headers show

Comments

Wang Sheng-Hui - May 18, 2012, 7:04 a.m.
The function is ext2_free_blocks(), not ext2_free_blocks_sb().

Signed-off-by: Wang Sheng-Hui <shhuiw@gmail.com>
---
 fs/ext2/balloc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Jan Kara - May 18, 2012, 1:25 p.m.
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 <shhuiw@gmail.com>
> ---
>  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
>

Patch

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