From mboxrd@z Thu Jan 1 00:00:00 1970 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 512E3C25B08 for ; Sat, 20 Aug 2022 18:13:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230350AbiHTSNJ (ORCPT ); Sat, 20 Aug 2022 14:13:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48862 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230031AbiHTSNA (ORCPT ); Sat, 20 Aug 2022 14:13:00 -0400 Received: from zeniv.linux.org.uk (zeniv.linux.org.uk [IPv6:2a03:a000:7:0:5054:ff:fe1c:15ff]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C8D5840BC0 for ; Sat, 20 Aug 2022 11:12:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=linux.org.uk; s=zeniv-20220401; h=Sender:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To: Cc:Content-Type:Content-ID:Content-Description; bh=MAve7KVmRdiKHmJf3UUFc8wn2WVQXszHunTAYCfUdlw=; b=Dz2vrz9WHm/UACWA60udqhiuXr MxzhXF/MuF7EqsKCc1YMDA/du5jkMdK6B238xv1eo5hEzSCsAmiKA6XVMpUHOOyEQYhG33traPgHc rD1sU/UI1iVSxbg78eyrcgIYyAaL6e4VTgOhu2J08wrVkggWuJQA0XgQlDz2l9PetgxcRK2QVXIbU dSe4eyQaQlp26NSissuGOS8lpl8ua5iVwmPdEr1gbLtJ582g1iJPrdcin8OK0kta9HbCB3QPxn+4R W5/qGVssBkUOEzrDe6v9WgBREjhodv6dmjd91/EhGNONWPPuMSdZJzhI6PjFq9tBvx47XH9geVjJb S9mEpkTA==; Received: from viro by zeniv.linux.org.uk with local (Exim 4.95 #2 (Red Hat Linux)) id 1oPSxt-006RW0-CS for linux-fsdevel@vger.kernel.org; Sat, 20 Aug 2022 18:12:57 +0000 From: Al Viro To: linux-fsdevel@vger.kernel.org Subject: [PATCH 08/11] audit_init_parent(): constify path Date: Sat, 20 Aug 2022 19:12:53 +0100 Message-Id: <20220820181256.1535714-7-viro@zeniv.linux.org.uk> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220820181256.1535714-1-viro@zeniv.linux.org.uk> References: <20220820181256.1535714-1-viro@zeniv.linux.org.uk> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: Al Viro Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org Signed-off-by: Al Viro --- kernel/audit_watch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/audit_watch.c b/kernel/audit_watch.c index 4b0957aa2cd4..65075f1e4ac8 100644 --- a/kernel/audit_watch.c +++ b/kernel/audit_watch.c @@ -133,7 +133,7 @@ int audit_watch_compare(struct audit_watch *watch, unsigned long ino, dev_t dev) } /* Initialize a parent watch entry. */ -static struct audit_parent *audit_init_parent(struct path *path) +static struct audit_parent *audit_init_parent(const struct path *path) { struct inode *inode = d_backing_inode(path->dentry); struct audit_parent *parent; -- 2.30.2