Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp1578333rwn; Fri, 9 Sep 2022 00:05:31 -0700 (PDT) X-Google-Smtp-Source: AA6agR7LZEN4X6k+aSn6w2zp7iLWWz930cY8lCu9h4gC1sxi5kIN/yRq1XR/aqgS/yB/SMW7+snN X-Received: by 2002:a05:6512:a8e:b0:492:b3e5:adcd with SMTP id m14-20020a0565120a8e00b00492b3e5adcdmr3879391lfu.374.1662707130752; Fri, 09 Sep 2022 00:05:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662707130; cv=none; d=google.com; s=arc-20160816; b=yEDkPLG3TWRzB8xBsmp3z0Q3GtffwMWEUMWWCf6utvSGiZ+8axlzBBFgEZMEhHIrMp i1dejvOWQ8dMThAbb4t5RMmkpVeKZNTyZlq2EYZ2767fxssh1wrpBnrVcKkmCj37dt8v Baa+Xepnjb5f6G1ATPx1BFQ/INF6obw+DU6zJ6E3qKKI6QxPUc2qmWZWWf7ykH/8e0JV z+B9v/FGDavDtzcRmTa3X/NpAitZJpOWe0xaenvWoYNLfqJGajg06lSbPGMF8A1CTl18 6RVqICYu/iV6qpNZ8kGuVAd7YovCW40moKQIrLrsC/6VQTbeXKRQpt94HmUN4jg/I4bA +eyQ== 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=I8PBnVuso42Lf8DghkrkORINCJIw/NNGEd7qLTShBCg=; b=guLBLbQVCHIJGrOzQEACjJEEHk/u6ctladIuL0xNGSkJIKckxU/tKtxPQzYmLj7/y4 6ixeZsdeE5PaQu/QSUdbTGODHIYusyKnphVcFT86UJa9HrPGAGBcKLPfj6OCa0z5CGGD H+uR8oCw6F/6BRxj93eJudshx3SD0S6Iia6Ah53PP5hPS3hxNIk15pGcvvn5+BPl3jGe +8CRMRlLMV4V5ccCooDNN46lWw1/e1GZFymA/Jrwc3BNlrBC2DOjV69nARPzKg/OS57C VsI3zryRdeMcXi3wd7vuczQyhEWrPMaKZEaYBao4PxOGHFDDk1p8/6Uzgj4Ld9UREcWc RnZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=iQHsq+0X; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n5-20020a2ebd05000000b0025e4c3d5d6asi476998ljq.498.2022.09.09.00.05.01; Fri, 09 Sep 2022 00:05:30 -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; dkim=pass header.i=@gmail.com header.s=20210112 header.b=iQHsq+0X; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230321AbiIIGpk (ORCPT + 99 others); Fri, 9 Sep 2022 02:45:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58344 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229686AbiIIGpg (ORCPT ); Fri, 9 Sep 2022 02:45:36 -0400 Received: from mail-pg1-x536.google.com (mail-pg1-x536.google.com [IPv6:2607:f8b0:4864:20::536]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F30152D1EB; Thu, 8 Sep 2022 23:45:34 -0700 (PDT) Received: by mail-pg1-x536.google.com with SMTP id q63so696817pga.9; Thu, 08 Sep 2022 23:45:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date; bh=I8PBnVuso42Lf8DghkrkORINCJIw/NNGEd7qLTShBCg=; b=iQHsq+0XUdDC87Uor3v4Ubs/wKzsrooqcujwFitg3OmdhmV3vYfO6ub0M4jPd0ayoO QseC5lwBTc/LOY/nhOqfYzqI2HQKZNYbsYrX+C3AKm+zfhoZY9dIyi+mNLd1kDTBfjs2 rct+3E77H1PsgFwL7ftthrxt2t7lPDL1Qkf87EqYKQBhtSgXKVfdmH0xe/MLKu9nyTUH ZHY4lo0NKtYYulw67Lpy0jnQuyiOVx2uLQijw2e62LeukbM5r3a9nWdxiGJGERTH6R7u NwtetV8aRMLUdjizlSbQ9w2am0FRlz3tPCcFddR+g+BYASked3OpdqSkAxKuiXOBGIIS PP8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date; bh=I8PBnVuso42Lf8DghkrkORINCJIw/NNGEd7qLTShBCg=; b=XeznjGjTr7pedtg9fTej/aamz1arFqyp2SoCDUPDRsRfcR9MIKnhzwxbQhdzbqMxCa A8HTBQMtZZ0sX79G3C6gW+zahb/vBmnbtpY2xsCXMlTNTe+DCcAmcKVG+D2u8M1Cj1Vn 0OnyaXHZJXayezkUab9xUFF+hpFxy/e4UPoBw8HlbUok95YTKm6fhGrReUIJofKI6Xj1 yyhESQdysrB4b/3RwrcHasd5SqbQgXCtR5P0fwPN5IDlo0658kNGBgGU4dBL3oJYg3FT xKHVk7fAUPh0BSGgKpJOI80AVGBgM3qgCF0M9zxYhZ7MqdoHYKFRjWa91amoq0LA+TyH WIwA== X-Gm-Message-State: ACgBeo0PM0pT6FuQrQreqXIzbIkAcGy6gUiOdGjxzdkcvEAtoKLPsb8+ 6cThhft7c0aAF0CT6g7f/7c= X-Received: by 2002:a63:a1f:0:b0:434:dd36:c639 with SMTP id 31-20020a630a1f000000b00434dd36c639mr10668967pgk.165.1662705934547; Thu, 08 Sep 2022 23:45:34 -0700 (PDT) Received: from localhost ([2406:7400:63:83c4:f166:555c:90a1:a48d]) by smtp.gmail.com with ESMTPSA id t128-20020a625f86000000b0052d2b55be32sm805403pfb.171.2022.09.08.23.45.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Sep 2022 23:45:34 -0700 (PDT) Date: Fri, 9 Sep 2022 12:15:28 +0530 From: "Ritesh Harjani (IBM)" To: Gaosheng Cui Cc: jack@suse.cz, amir73il@gmail.com, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] fsnotify: remove unused declaration Message-ID: <20220909064528.vbjafykgbm7kt35q@riteshh-domain> References: <20220909033828.993889-1-cuigaosheng1@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220909033828.993889-1-cuigaosheng1@huawei.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 22/09/09 11:38AM, Gaosheng Cui wrote: > fsnotify_alloc_event_holder() and fsnotify_destroy_event_holder() > has been removed since commit 7053aee26a35 ("fsnotify: do not share > events between notification groups"), so remove it. It's a 2014 commit. Nice spotting. Reviewed-by: Ritesh Harjani (IBM) > > Signed-off-by: Gaosheng Cui > --- > fs/notify/fsnotify.h | 4 ---- > 1 file changed, 4 deletions(-) > > diff --git a/fs/notify/fsnotify.h b/fs/notify/fsnotify.h > index 87d8a50ee803..fde74eb333cc 100644 > --- a/fs/notify/fsnotify.h > +++ b/fs/notify/fsnotify.h > @@ -76,10 +76,6 @@ static inline void fsnotify_clear_marks_by_sb(struct super_block *sb) > */ > extern void __fsnotify_update_child_dentry_flags(struct inode *inode); > > -/* allocate and destroy and event holder to attach events to notification/access queues */ > -extern struct fsnotify_event_holder *fsnotify_alloc_event_holder(void); > -extern void fsnotify_destroy_event_holder(struct fsnotify_event_holder *holder); > - > extern struct kmem_cache *fsnotify_mark_connector_cachep; > > #endif /* __FS_NOTIFY_FSNOTIFY_H_ */ > -- > 2.25.1 >