add patch fix-warnings-about-stack-corruption
[ext4-patch-queue.git] / correct-comment-references-to-ext4_ext_direct_IO
blobac9359db7fd44c18d99c5caa6ffd91ca21116cac
1 ext4: correct comment references to ext4_ext_direct_IO()
3 From: Eric Whitney <enwlinux@gmail.com>
5 Commit 914f82a32d0268847 "ext4: refactor direct IO code" deleted
6 ext4_ext_direct_IO(), but references to that function remain in
7 comments.  Update them to refer to ext4_direct_IO_write().
9 Signed-off-by: Eric Whitney <enwlinux@gmail.com>
10 Signed-off-by: Theodore Ts'o <tytso@mit.edu>
11 Reviewed-by: Andreas Dilger <adilger@dilger.ca>
12 Reviewed-by: Jan Kara <jack@suse.cz>
13 ---
14  fs/ext4/inode.c | 4 ++--
15  1 file changed, 2 insertions(+), 2 deletions(-)
17 diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c
18 index 3c600f0..2e6c022 100644
19 --- a/fs/ext4/inode.c
20 +++ b/fs/ext4/inode.c
21 @@ -892,7 +892,7 @@ static int ext4_dio_get_block_unwritten_async(struct inode *inode,
22  /*
23   * Get block function for non-AIO DIO writes when we create unwritten extent if
24   * blocks are not allocated yet. The extent will be converted to written
25 - * after IO is complete from ext4_ext_direct_IO() function.
26 + * after IO is complete by ext4_direct_IO_write().
27   */
28  static int ext4_dio_get_block_unwritten_sync(struct inode *inode,
29                 sector_t iblock, struct buffer_head *bh_result, int create)
30 @@ -907,7 +907,7 @@ static int ext4_dio_get_block_unwritten_sync(struct inode *inode,
32         /*
33          * Mark inode as having pending DIO writes to unwritten extents.
34 -        * ext4_ext_direct_IO() checks this flag and converts extents to
35 +        * ext4_direct_IO_write() checks this flag and converts extents to
36          * written.
37          */
38         if (!ret && buffer_unwritten(bh_result))
39 -- 
40 2.1.4