2014-09-01 13:16:02

by Seunghun Lee

[permalink] [raw]
Subject: [PATCH] ext4: fix comments about get_blocks

get_blocks is renamed to get_block.

Signed-off-by: Seunghun Lee <[email protected]>
---
fs/ext4/inode.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c
index 3aa26e9..6c91fb3 100644
--- a/fs/ext4/inode.c
+++ b/fs/ext4/inode.c
@@ -590,7 +590,7 @@ found:
/*
* New blocks allocate and/or writing to unwritten extent
* will possibly result in updating i_data, so we take
- * the write lock of i_data_sem, and call get_blocks()
+ * the write lock of i_data_sem, and call get_block()
* with create == 1 flag.
*/
down_write(&EXT4_I(inode)->i_data_sem);
@@ -1536,7 +1536,7 @@ out_unlock:
}

/*
- * This is a special get_blocks_t callback which is used by
+ * This is a special get_block_t callback which is used by
* ext4_da_write_begin(). It will either return mapped block or
* reserve space for a single block.
*
--
1.7.9.5


2014-09-02 02:16:09

by Theodore Ts'o

[permalink] [raw]
Subject: Re: [PATCH] ext4: fix comments about get_blocks

On Mon, Sep 01, 2014 at 10:16:02PM +0900, Seunghun Lee wrote:
> get_blocks is renamed to get_block.
>
> Signed-off-by: Seunghun Lee <[email protected]>

Applied, thanks.

- Ted