From: Eric Whitney Date: Mon, 31 Jul 2017 02:26:40 +0000 (-0400) Subject: ext4: correct comment references to ext4_ext_direct_IO() X-Git-Tag: MMI-PSA29.97-13-9~5018^2~19 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1e21196c8e3e210cbef130e23e40c4adc3d9ce10;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git ext4: correct comment references to ext4_ext_direct_IO() Commit 914f82a32d0268847 "ext4: refactor direct IO code" deleted ext4_ext_direct_IO(), but references to that function remain in comments. Update them to refer to ext4_direct_IO_write(). Signed-off-by: Eric Whitney Signed-off-by: Theodore Ts'o Reviewed-by: Andreas Dilger Reviewed-by: Jan Kara --- diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c index 3c600f02673f..2e6c02258ee2 100644 --- a/fs/ext4/inode.c +++ b/fs/ext4/inode.c @@ -892,7 +892,7 @@ static int ext4_dio_get_block_unwritten_async(struct inode *inode, /* * Get block function for non-AIO DIO writes when we create unwritten extent if * blocks are not allocated yet. The extent will be converted to written - * after IO is complete from ext4_ext_direct_IO() function. + * after IO is complete by ext4_direct_IO_write(). */ static int ext4_dio_get_block_unwritten_sync(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) @@ -907,7 +907,7 @@ static int ext4_dio_get_block_unwritten_sync(struct inode *inode, /* * Mark inode as having pending DIO writes to unwritten extents. - * ext4_ext_direct_IO() checks this flag and converts extents to + * ext4_direct_IO_write() checks this flag and converts extents to * written. */ if (!ret && buffer_unwritten(bh_result))