From patchwork Sat Aug 20 18:12:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Al Viro X-Patchwork-Id: 12949747 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 977AFC25B08 for ; Sat, 20 Aug 2022 18:13:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230314AbiHTSNG (ORCPT ); Sat, 20 Aug 2022 14:13:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48838 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229986AbiHTSNA (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 B3FD840569 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=+W0KS5ROUeLrBh/HkPoJVfJyzYvD8APwjVebUYBtlSs=; b=bXkUtWUej/PmYeEij9iJRrc6w7 nFi4AKvEnRm3HhICSnelU3k3D71uqvbVlRrddLSjO5c2QLRxJcAgkWjwo4Tn6QN19BG2k8ehEhY0g SW9nSFt99f5Ty9QoUze8uqzTUhPlZP2O7rF0KPJHYCgRozk9xhrTCpy2THkxMdfzWJjTNlcz7VO4u GuiPy5chPlCQQqYLqOVKPlXhwISOs5Pcwh48V6tIOhPA+OVWlD3RoY/awgBFTK0FBFH2N4pv4e+t/ K05JxGG25r3Whu1uXhHDBnKGdOndiPnh3pYbOZ855w/5ouqd78YT6TGqutSJ9BQdHVtx2HupXaJxQ ovHZahdQ==; Received: from viro by zeniv.linux.org.uk with local (Exim 4.95 #2 (Red Hat Linux)) id 1oPSxt-006RVw-6p 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 07/11] __io_setxattr(): constify path Date: Sat, 20 Aug 2022 19:12:52 +0100 Message-Id: <20220820181256.1535714-6-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 Sender: Al Viro Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org Signed-off-by: Al Viro --- io_uring/xattr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/io_uring/xattr.c b/io_uring/xattr.c index 84180afd090b..99df641594d7 100644 --- a/io_uring/xattr.c +++ b/io_uring/xattr.c @@ -206,7 +206,7 @@ int io_fsetxattr_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe) } static int __io_setxattr(struct io_kiocb *req, unsigned int issue_flags, - struct path *path) + const struct path *path) { struct io_xattr *ix = io_kiocb_to_cmd(req, struct io_xattr); int ret;