]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ext4: fix comments about get_blocks
authorSeunghun Lee <waydi1@gmail.com>
Tue, 2 Sep 2014 02:15:30 +0000 (22:15 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 2 Sep 2014 02:15:30 +0000 (22:15 -0400)
get_blocks is renamed to get_block.

Signed-off-by: Seunghun Lee <waydi1@gmail.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/inode.c

index cc95dca5cb8a2f3f19532d78eac8975c47224273..4a16b0cc02deb07ff9f382dc6f10ef58d595a682 100644 (file)
@@ -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);
@@ -1529,7 +1529,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.
  *