From patchwork Fri Jul 14 21:04:26 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Whitney X-Patchwork-Id: 788779 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3x8Q8P69W1z9sBR for ; Sat, 15 Jul 2017 07:01:09 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="kqT4cdtu"; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751058AbdGNVBI (ORCPT ); Fri, 14 Jul 2017 17:01:08 -0400 Received: from mail-qk0-f196.google.com ([209.85.220.196]:36582 "EHLO mail-qk0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751029AbdGNVBI (ORCPT ); Fri, 14 Jul 2017 17:01:08 -0400 Received: by mail-qk0-f196.google.com with SMTP id v17so11298318qka.3 for ; Fri, 14 Jul 2017 14:01:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :user-agent; bh=yI82QbjxGint2OonXkKrH+0i2nGE+wJZm3NZI65M5h8=; b=kqT4cdtuVr1PHwh33uPumxcbpUuAYJru2A8OXWvT74B/e6JhzECLvKXWmrrzdl9LcI C5Jn7k49geyl/l5FNnQ5ICQk/YHhGjJB0c0JyJgYkf577yi61e0oqcSMesSZAq9eAp0h ZCrU9NSc6eT2ytCg5jiLfiuaDJz4BzmcosMXChnQkFxpl5f/lr8FKWnK/Fx9YgUFueZY Meo27PWyDqZodtgjuqqS7Eeg/yFFL0HRfcpNQbEedbPBZkuBC3RqjD+LEXLtT2T+7nXy v9gQFMcVn2DZIk63P9Qqn78XwqHTgriy9NZlN3X1WOTWydFZg5YtDFLyJNDl50hBDGys ci/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=yI82QbjxGint2OonXkKrH+0i2nGE+wJZm3NZI65M5h8=; b=q5GC21gnl/8iLLrVV58JZZdr5zyfAlCw/nZG+t8/L/DYHEpfgM9RE8M+iuEls5lA0i 8OXLckr/W2vurNcJavkFs1GJv+C3ZTdPTewHkcwmHeYPkxDEra+tj+Zdo5G3fy05g4na 28/on2JcGASKqq0sE3yY6zYqRG0Eg9G1eL9zaAjeIwzTGX5lRYf+iqi4DfOxB45scl3k SvXfMW5zhNKxndkJAGGHg3K3pKuB98eJlKXAy3YiLiiwvzOQvIUFxkBrkTHqohmirMw3 UEk7hxZsDPaCTbwFw0QeMirf2sll84DBr1JcmANtp/TM/p1+cR+Blg9DDA0IFkdSVj3/ c1JA== X-Gm-Message-State: AIVw1116vXx2Y6zPjg+CxHmT2qaJZHVAuRbU32oSvpy4bJdO4TnMXN4s jH082WZdOSAcUNFW X-Received: by 10.55.157.135 with SMTP id g129mr12827514qke.241.1500066066913; Fri, 14 Jul 2017 14:01:06 -0700 (PDT) Received: from localhost.localdomain (c-73-60-235-182.hsd1.nh.comcast.net. [73.60.235.182]) by smtp.gmail.com with ESMTPSA id o36sm8070777qtf.9.2017.07.14.14.01.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 14 Jul 2017 14:01:06 -0700 (PDT) Date: Fri, 14 Jul 2017 17:04:26 -0400 From: Eric Whitney To: linux-ext4@vger.kernel.org Cc: tytso@mit.edu Subject: [PATCH] ext4: correct comment references to ext4_ext_direct_IO() Message-ID: <20170714210426.GB12793@localhost.localdomain> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org 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 Reviewed-by: Andreas Dilger Reviewed-by: Jan Kara --- fs/ext4/inode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c index 3c600f0..2e6c022 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))