diff options
author | Seunghun Lee <waydi1@gmail.com> | 2014-09-01 22:15:30 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2014-09-01 22:15:30 -0400 |
commit | d91bd2c1d78d8d22f9f721aae84650a08239b509 (patch) | |
tree | 3915198eb9dfda0a1d9e43cd8e87ebcb4369b769 /fs | |
parent | 45f1a9c3f63db3d4562c16062a51740801fbd88c (diff) |
ext4: fix comments about get_blocks
get_blocks is renamed to get_block.
Signed-off-by: Seunghun Lee <waydi1@gmail.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/ext4/inode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c index cc95dca5cb8a..4a16b0cc02de 100644 --- a/fs/ext4/inode.c +++ b/fs/ext4/inode.c | |||
@@ -590,7 +590,7 @@ found: | |||
590 | /* | 590 | /* |
591 | * New blocks allocate and/or writing to unwritten extent | 591 | * New blocks allocate and/or writing to unwritten extent |
592 | * will possibly result in updating i_data, so we take | 592 | * will possibly result in updating i_data, so we take |
593 | * the write lock of i_data_sem, and call get_blocks() | 593 | * the write lock of i_data_sem, and call get_block() |
594 | * with create == 1 flag. | 594 | * with create == 1 flag. |
595 | */ | 595 | */ |
596 | down_write(&EXT4_I(inode)->i_data_sem); | 596 | down_write(&EXT4_I(inode)->i_data_sem); |
@@ -1529,7 +1529,7 @@ out_unlock: | |||
1529 | } | 1529 | } |
1530 | 1530 | ||
1531 | /* | 1531 | /* |
1532 | * This is a special get_blocks_t callback which is used by | 1532 | * This is a special get_block_t callback which is used by |
1533 | * ext4_da_write_begin(). It will either return mapped block or | 1533 | * ext4_da_write_begin(). It will either return mapped block or |
1534 | * reserve space for a single block. | 1534 | * reserve space for a single block. |
1535 | * | 1535 | * |