Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp1507054rwb; Wed, 26 Jul 2023 13:42:36 -0700 (PDT) X-Google-Smtp-Source: APBJJlH2rPGq7TgIa6zxqvRZwDDSc0xAzbl9lN3v6+UkZQ5JJjXtV8Kdy1D/AjGj7vOT6NEAOOBi X-Received: by 2002:ac2:5323:0:b0:4fd:c771:ed86 with SMTP id f3-20020ac25323000000b004fdc771ed86mr182782lfh.67.1690404156237; Wed, 26 Jul 2023 13:42:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690404156; cv=none; d=google.com; s=arc-20160816; b=yxCRpdzxL2BC9oOF95Og8Rw51oV19DK7RDIQMHcS39H2fuzEI7AAKTESKhrO4Qfgle QDieuSSL/eTYDdsGQuRHYOzhctmmNd2iBy/SFdH5iC9O6SxdU24iqFztOq19xnZrEyRG Eky5At2ECqo7Uh0M9lCOxWVCeXEoEJLgk6UWuwqtODbcUmP798i7yP3tzEDJkcXpWfBn L0XqioWjcuGcPBTtPu9eE0VNl2xJ1H0SAP+C4Th+ZsbUljcXsU873ssA4tSY+gNGArjj tkDBNWZ6S+c9/zzRfww2BWSmMAYxziXYYTgrggca7aIvKqE/y5kV2wl95iVnHUC2tMiD LX9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=qGP7ghK+7Er1CVPxUYlNCHAwPPMOsNaR9loYpLeCpCw=; fh=epBfH/ayVMMnwIoE+dyOEUDsTL3yaAc+/Nago8rNaJw=; b=L5cYxOd7Dkj3mRTjKbQFir1fuV8W9Aa0Hts2Wr7NXNE33hQqxwPdORM6MIcvzRr6sU miDlEHVywf+kCTFdkEXKONjoGyhF/yhsGoPO+oD53fg67pyJP58t686GpE3WqtmPXZC3 7IVUWvUrIolZgfMhyb4lWEqjnsVnfY5HSxZrxjhvcvlzKGoZ2z5mtSPnXt13/fPutFd0 q4PLIGDHphgiIdVTEKqTLmRQlLqyM22VqzmXtdxytjdKioCXc0Qb4RALoslsPDEaXu1a mXv7zhuAB3cAryIAH35Ku/upEadMbLUiblsIq8BSkI68Tex8QHmagRmMqCar01AaXrBx F8Gg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 q9-20020aa7da89000000b005223f8d2a2csi3400968eds.441.2023.07.26.13.42.09; Wed, 26 Jul 2023 13:42:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230410AbjGZUe1 (ORCPT + 99 others); Wed, 26 Jul 2023 16:34:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58166 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229528AbjGZUe0 (ORCPT ); Wed, 26 Jul 2023 16:34:26 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7AE0A2701; Wed, 26 Jul 2023 13:34:25 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 19E5961C50; Wed, 26 Jul 2023 20:34:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E5987C433C7; Wed, 26 Jul 2023 20:34:20 +0000 (UTC) Date: Wed, 26 Jul 2023 16:34:17 -0400 From: Steven Rostedt To: Ajay Kaher Cc: shuah@kernel.org, mhiramat@kernel.org, chinglinyu@google.com, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-trace-kernel@vger.kernel.org, lkp@intel.com, namit@vmware.com, oe-lkp@lists.linux.dev, amakhalov@vmware.com, er.ajay.kaher@gmail.com, srivatsa@csail.mit.edu, tkundu@vmware.com, vsirnapalli@vmware.com Subject: Re: [PATCH v5 07/10] eventfs: Implement functions to create files and dirs when accessed Message-ID: <20230726163359.5c0f247b@rorschach.local.home> In-Reply-To: <1690054625-31939-8-git-send-email-akaher@vmware.com> References: <1690054625-31939-1-git-send-email-akaher@vmware.com> <1690054625-31939-8-git-send-email-akaher@vmware.com> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham 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-kernel@vger.kernel.org On Sun, 23 Jul 2023 01:07:02 +0530 Ajay Kaher wrote: > --- a/include/linux/tracefs.h > +++ b/include/linux/tracefs.h > @@ -23,6 +23,13 @@ struct file_operations; > > struct eventfs_file; > > +struct dentry *eventfs_start_creating(const char *name, > + struct dentry *parent); > + > +struct dentry *eventfs_failed_creating(struct dentry *dentry); > + > +struct dentry *eventfs_end_creating(struct dentry *dentry); > + These should go into the internal.h header and not be exposed to users of tracefs. -- Steve