From nobody Mon Apr 6 08:10:42 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 67D26ECAAA1 for ; Fri, 9 Sep 2022 03:38:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230234AbiIIDif (ORCPT ); Thu, 8 Sep 2022 23:38:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43628 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229576AbiIIDib (ORCPT ); Thu, 8 Sep 2022 23:38:31 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1915E100400; Thu, 8 Sep 2022 20:38:31 -0700 (PDT) Received: from kwepemi500012.china.huawei.com (unknown [172.30.72.54]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4MP1p35CJgzmVL6; Fri, 9 Sep 2022 11:34:51 +0800 (CST) Received: from cgs.huawei.com (10.244.148.83) by kwepemi500012.china.huawei.com (7.221.188.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Fri, 9 Sep 2022 11:38:28 +0800 From: Gaosheng Cui To: , , CC: , Subject: [PATCH] fsnotify: remove unused declaration Date: Fri, 9 Sep 2022 11:38:28 +0800 Message-ID: <20220909033828.993889-1-cuigaosheng1@huawei.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [10.244.148.83] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To kwepemi500012.china.huawei.com (7.221.188.12) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" 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. Signed-off-by: Gaosheng Cui Reviewed-by: Ritesh Harjani (IBM) --- 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 sup= er_block *sb) */ extern void __fsnotify_update_child_dentry_flags(struct inode *inode); =20 -/* 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 *ho= lder); - extern struct kmem_cache *fsnotify_mark_connector_cachep; =20 #endif /* __FS_NOTIFY_FSNOTIFY_H_ */ --=20 2.25.1