From patchwork Tue Jan 12 15:18:43 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chandan Rajendra X-Patchwork-Id: 8018351 Return-Path: X-Original-To: patchwork-linux-fsdevel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 246449F3F6 for ; Tue, 12 Jan 2016 15:20:06 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 539D6203DA for ; Tue, 12 Jan 2016 15:20:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 65F01202EB for ; Tue, 12 Jan 2016 15:20:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965381AbcALPUC (ORCPT ); Tue, 12 Jan 2016 10:20:02 -0500 Received: from e23smtp01.au.ibm.com ([202.81.31.143]:36899 "EHLO e23smtp01.au.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965328AbcALPUB (ORCPT ); Tue, 12 Jan 2016 10:20:01 -0500 Received: from localhost by e23smtp01.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 13 Jan 2016 01:19:58 +1000 Received: from d23dlp02.au.ibm.com (202.81.31.213) by e23smtp01.au.ibm.com (202.81.31.207) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Wed, 13 Jan 2016 01:19:57 +1000 X-IBM-Helo: d23dlp02.au.ibm.com X-IBM-MailFrom: chandan@linux.vnet.ibm.com X-IBM-RcptTo: linux-fsdevel@vger.kernel.org Received: from d23relay08.au.ibm.com (d23relay08.au.ibm.com [9.185.71.33]) by d23dlp02.au.ibm.com (Postfix) with ESMTP id CB93D2BB0052 for ; Wed, 13 Jan 2016 02:19:53 +1100 (EST) Received: from d23av03.au.ibm.com (d23av03.au.ibm.com [9.190.234.97]) by d23relay08.au.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id u0CFJOWO19660966 for ; Wed, 13 Jan 2016 02:19:32 +1100 Received: from d23av03.au.ibm.com (localhost [127.0.0.1]) by d23av03.au.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id u0CFJLNs013872 for ; Wed, 13 Jan 2016 02:19:21 +1100 Received: from localhost.in.ibm.com ([9.124.210.74]) by d23av03.au.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id u0CFJJVa013565; Wed, 13 Jan 2016 02:19:20 +1100 From: Chandan Rajendra To: linux-fsdevel@vger.kernel.org Cc: Chandan Rajendra , chandan@mykolab.com Subject: [PATCH] Fix comment that describes functionality of inode_dio_begin() Date: Tue, 12 Jan 2016 20:48:43 +0530 Message-Id: <1452611923-17560-1-git-send-email-chandan@linux.vnet.ibm.com> X-Mailer: git-send-email 2.1.0 X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 16011215-1618-0000-0000-0000037812D1 Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The description of inode_dio_begin() is incorrect. This commit provides the right description. Signed-off-by: Chandan Rajendra --- include/linux/fs.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/linux/fs.h b/include/linux/fs.h index ef3cd36..cd9ef98 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -2706,8 +2706,7 @@ void inode_dio_wait(struct inode *inode); * inode_dio_begin - signal start of a direct I/O requests * @inode: inode the direct I/O happens on * - * This is called once we've finished processing a direct I/O request, - * and is used to wake up callers waiting for direct I/O to be quiesced. + * This is called just before starting to service a direct I/O request. */ static inline void inode_dio_begin(struct inode *inode) {