Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp5032018rwl; Mon, 10 Apr 2023 22:35:49 -0700 (PDT) X-Google-Smtp-Source: AKy350bomuT/Zd7KZf/BU1+w14GpjyPR7d/x9tvqwQp73zgsjpbsy8+geb57MzcuqxY+wnGeUwQK X-Received: by 2002:a17:906:9401:b0:931:73d:4cc3 with SMTP id q1-20020a170906940100b00931073d4cc3mr8192028ejx.11.1681191349271; Mon, 10 Apr 2023 22:35:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681191349; cv=none; d=google.com; s=arc-20160816; b=XmnOZZReOnRSiAA3lebax6WWZeLsyiylS1AcRkBjYVlDSsof7T5a/uedZB9WMDGIKf cGtqYWLeY5Xl746lfnlaya1kPC57YePqcze4q8ohY5fQ6fapUPsjisZmuTRmZxD9zUnL 0CsyTVQbKF1obEXgj67GypP4BfQlYY6s2+q5lL+MfyAQ0bgA+Tju2Xp7B6sYcm8fAuEH i6LTkv28GzmfsIcxSnXGwBL+qHWnYJnMY2mv39LeZL+IQclyPwvffNvfrY6I1DJkS6HQ WBtsEsnNBg6HjDU7XC2C/L2b9wZFYUyLnaCphGSg1NtrRVloxyJXAm2aGiqDSu6vd/h0 U9Hg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=pYrKCITtwCdF/rcxxVKn5VZep4eKY2TOamrgjv0L1Y4=; b=EX3sRCBAJy3GwyzKhIWynvpuQ5cNYi4HJD9mhyxnp51u//eo90oefXs4kbIE727p4/ CSp7AkZtuYMlmtyCqj5EjA3l074nqlHtfGhxV/FwAfpbZRZ3ZOZxwOERb5Lflip2HvYl JpItP8ZJffxf1lpLSwcQ/vDY+H82FlnWvayROGfDDPkHtV/6fQjGNSURb7sgJJXnG7YD QHp4TJ+TPaQtWmC81hR/fpFZbXAH2eJ1utvW5ZhDrhyu74j1vH5PVscsVHPuXUresHS9 asXzaycHR/LXP90jjS2OZdXmEFJy+g7alNVufpkm8EzTkrwvJnsE89qPNNEcKLopvlt1 kmWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=XBGL3jtl; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j5-20020aa7de85000000b0050489897d31si7564204edv.151.2023.04.10.22.35.25; Mon, 10 Apr 2023 22:35:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=XBGL3jtl; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229814AbjDKF1P (ORCPT + 99 others); Tue, 11 Apr 2023 01:27:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41750 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229749AbjDKF1P (ORCPT ); Tue, 11 Apr 2023 01:27:15 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BE3B11BF7; Mon, 10 Apr 2023 22:27:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=pYrKCITtwCdF/rcxxVKn5VZep4eKY2TOamrgjv0L1Y4=; b=XBGL3jtlw/timZ6jk72FmyQXMH iqUJbIPKezhNMQgDqP0w9EXYugGMQINqH1jOcnWgVA0/xsU0EhuWc2ykCYPlLRKWX+8CWEO3x3A8U tGK7TqiC4W8ksu5L9fNoviDVlh5L7o43t0h9RoaRP+RGuPJVLmUuSb2Nbb+z0KlO8Joon61i5IC5Y BpejunAhqtuf6pnFCmTjn5ui/tifOjHzyZFNFIGlyG8vyx4GOrqPkuy6DqraZngF5xhfD9fhW1t2g s4N8vdu9MTVIzNzDac1wGYP2eEpxXZGBT0NS15a86S8TXkbKEVz6jiCdamwxtmRyiCjQ7l01pJx/A hMcqM4WQ==; Received: from hch by bombadil.infradead.org with local (Exim 4.96 #2 (Red Hat Linux)) id 1pm6X8-00GSSH-1n; Tue, 11 Apr 2023 05:27:10 +0000 Date: Mon, 10 Apr 2023 22:27:10 -0700 From: Christoph Hellwig To: "Ritesh Harjani (IBM)" Cc: linux-fsdevel@vger.kernel.org, linux-ext4@vger.kernel.org, Jan Kara , Christoph Hellwig , "Darrick J . Wong" , Ojaswin Mujoo Subject: Re: [RFCv2 2/8] libfs: Add __generic_file_fsync_nolock implementation Message-ID: References: <6fad2ec25bccbbb9b3effbd18c2d6d6965b9a33c.1681188927.git.ritesh.list@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6fad2ec25bccbbb9b3effbd18c2d6d6965b9a33c.1681188927.git.ritesh.list@gmail.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Tue, Apr 11, 2023 at 10:51:50AM +0530, Ritesh Harjani (IBM) wrote: > +/** > + * __generic_file_fsync_nolock - generic fsync implementation for simple > + * filesystems with no inode lock No reallz need for the __ prefix in the name. > +extern int __generic_file_fsync_nolock(struct file *, loff_t, loff_t, int); No need for the extern. And at least I personally prefer to spell out the parameter names to make the prototype much more readable.