Add Jan Kara's ext4 data corruption bugs for blocksize < pagesize
[ext4-patch-queue.git] / fix-comments-about-get_blocks
blobf5f70ad9d6485a2e0d37acdd145af0d2722b2af9
1 ext4: fix comments about get_blocks
3 From: Seunghun Lee <waydi1@gmail.com>
5 get_blocks is renamed to get_block.
7 Signed-off-by: Seunghun Lee <waydi1@gmail.com>
8 Signed-off-by: Theodore Ts'o <tytso@mit.edu>
9 ---
10  fs/ext4/inode.c |    4 ++--
11  1 file changed, 2 insertions(+), 2 deletions(-)
13 diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c
14 index 3aa26e9..6c91fb3 100644
15 --- a/fs/ext4/inode.c
16 +++ b/fs/ext4/inode.c
17 @@ -590,7 +590,7 @@ found:
18         /*
19          * New blocks allocate and/or writing to unwritten extent
20          * will possibly result in updating i_data, so we take
21 -        * the write lock of i_data_sem, and call get_blocks()
22 +        * the write lock of i_data_sem, and call get_block()
23          * with create == 1 flag.
24          */
25         down_write(&EXT4_I(inode)->i_data_sem);
26 @@ -1536,7 +1536,7 @@ out_unlock:
27  }
29  /*
30 - * This is a special get_blocks_t callback which is used by
31 + * This is a special get_block_t callback which is used by
32   * ext4_da_write_begin().  It will either return mapped block or
33   * reserve space for a single block.
34   *
35 -- 
36 1.7.9.5
39 To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
40 the body of a message to majordomo@vger.kernel.org
41 More majordomo info at  http://vger.kernel.org/majordomo-info.html
42 Please read the FAQ at  http://www.tux.org/lkml/