Message ID | 174553065016.1160461.12942341433377716292.stgit@frogsfrogsfrogs |
---|---|
State | New |
Headers | show
Return-Path: <SRS0=UA3I=XK=vger.kernel.org=linux-ext4+bounces-7472-patchwork-incoming=ozlabs.org@ozlabs.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=vEwBzH3y; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=ozlabs.org (client-ip=150.107.74.76; helo=mail.ozlabs.org; envelope-from=srs0=ua3i=xk=vger.kernel.org=linux-ext4+bounces-7472-patchwork-incoming=ozlabs.org@ozlabs.org; receiver=patchwork.ozlabs.org) Received: from mail.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Zk8ZD4pvQz1yN2 for <incoming@patchwork.ozlabs.org>; Fri, 25 Apr 2025 07:41:56 +1000 (AEST) Received: from mail.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by gandalf.ozlabs.org (Postfix) with ESMTP id 4Zk8ZZ16Nsz4xD3 for <incoming@patchwork.ozlabs.org>; Fri, 25 Apr 2025 07:42:14 +1000 (AEST) Received: by gandalf.ozlabs.org (Postfix) id 4Zk8ZZ14N5z4wyk; Fri, 25 Apr 2025 07:42:14 +1000 (AEST) Delivered-To: patchwork-incoming@ozlabs.org Authentication-Results: gandalf.ozlabs.org; arc=pass smtp.remote-ip="2604:1380:45e3:2400::1" arc.chain=subspace.kernel.org ARC-Seal: i=2; a=rsa-sha256; d=ozlabs.org; s=201707; t=1745530934; cv=pass; b=QPZk3+HIa9kEne+Wz9ZToVkr26jUQGyocUElqwTDoA13eAMYa47DEnPuDxVC+lQLc6zSQwZowgRDoKWQxtKQ6/KLgjtyLW9BKumZp7t1Tx3cJWDbYxKqq2bUTZch+ZxJhmsE9GEbRUNuSy7aD08AXzK85jZG16xytnSMIjafNAfRs0u6+8nESpsmAg6urvvwxe7mMPssHQQknUAAcrFCTxCREIWTmh2QACTQtNLaDqWSDBTihH57+Xtlm+zHG9hddgNt5nVqSF3Bik4Di0cbIDqx1FM93valvI6kd0lfJmJSH27QqhCAPwTAn0wbMjkAxlIeGnXGQTLZjo9bf4h1Gw== ARC-Message-Signature: i=2; a=rsa-sha256; d=ozlabs.org; s=201707; t=1745530934; c=relaxed/relaxed; bh=Zr/xhvHH+FZTmvYyOG88rhAUyrwi4JALINWjwMIXWII=; h=Date:Subject:From:To:Cc:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=JjgOXXVL8W2T558/U/vt+8PV1tE1ERneJFwYDTYAkyePqlZqOdapTWH63mm4Dzb379sMm+5FqH2JqY3pq0bNXPcqz4/7cA0oeWNnSnnXCxPro/Vp5na2vkNNHQbZDtVn3Gyq7SL30JTZUjkH1MUzcXGAdrjKH5Tm2i77flMGm0ItEe4vFM/5ufLIITBUD5HRZlMSTmTu7Ft2liirrZKSY8hnI4oyfWoRQb/evJiLP9E6PF6YqaRfOh8isPxADn8ai74K+bFCIRblBZoiCnq8NQRQ2QYoy3iyFskfUyb4gYvdLYStiaVyosIz56CAk0Ye8W8SvL7kuyyEXa2e3rvXmg== ARC-Authentication-Results: i=2; gandalf.ozlabs.org; dmarc=pass (p=quarantine dis=none) header.from=kernel.org; spf=pass smtp.mailfrom=vger.kernel.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=vEwBzH3y; dkim-atps=neutral Authentication-Results: gandalf.ozlabs.org; dmarc=pass (p=quarantine dis=none) header.from=kernel.org Authentication-Results: gandalf.ozlabs.org; spf=pass smtp.mailfrom=vger.kernel.org Authentication-Results: gandalf.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=vEwBzH3y; dkim-atps=neutral Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org [IPv6:2604:1380:45e3:2400::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by gandalf.ozlabs.org (Postfix) with ESMTPS id 4Zk8ZV6wRvz4xD3 for <patchwork-incoming@ozlabs.org>; Fri, 25 Apr 2025 07:42:10 +1000 (AEST) Received: from smtp.subspace.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 89F663BD82D for <patchwork-incoming@ozlabs.org>; Thu, 24 Apr 2025 21:41:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2FAF821D3E3; Thu, 24 Apr 2025 21:42:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="vEwBzH3y" X-Original-To: linux-ext4@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E4384198851 for <linux-ext4@vger.kernel.org>; Thu, 24 Apr 2025 21:42:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745530926; cv=none; b=kMNjggc/Vo8s6faraSq7wU/49QXh7vO55s3BRgAmsJzj1mp3YniuEaBm2e/A+Bj2/49rglNsodgSIpdoFOvTtVSM4l8RFVTXR9MrnGsov9JEyr9T3nMHP56cs7d+hiAoOXNEw6WrPtmydTeERYEOGC/Z21tkkRQi8Kyh0Hq6z9E= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745530926; c=relaxed/simple; bh=jWeBc0koSNIJqO5MUwn9WWNEUxvr5fVfH4obk/mpjtU=; h=Date:Subject:From:To:Cc:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Ajt0wn0RYvodLFI1Ai1aCeqLA/CpK1gVHNhc+ssAs2SyXvxlJDh7MnQOP208BvbwCZDiXSUw2o2r+0B5rpIbqDm9NK+6rK5z23sdJibu01hG5cmLJ+/AUFCGtkFidXAVLfQUJ4MHN905bY7+Wjh3cBk67e4R0fyNN95tnaP/JMM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=vEwBzH3y; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id B8E3BC4CEE3; Thu, 24 Apr 2025 21:42:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1745530925; bh=jWeBc0koSNIJqO5MUwn9WWNEUxvr5fVfH4obk/mpjtU=; h=Date:Subject:From:To:Cc:In-Reply-To:References:From; b=vEwBzH3yKdaZKGHjwr3eUhHzDzvNpwybZkCo4HixiojeL7xtPI6+Ijgxbp/nEUAQ7 UtstMhgqpBr+XDi6PoFVVijTT0Gv0W3jgkEIq94+vGPg5JJ6p9NyEMG00/9B+WnP4o xAiqv2JDLOZQoD/R3/+XtCDUixcZ7UKxDdOslHfIF8iKxxGbOO1cJh6j/x+jmPNc27 WuvBRRbkikkjdr9VRpWpWhEPMQt8stE7mzz1e/TS1jlW0EtHUDiXeyLpFhjfiew0Av M24M1eAA7STtQGFNZZDJS8OShNM5+5BG0zlSdwAhZw1xZixzS8gapWtogelmuy4f0b gPd4UuoJgImzQ== Date: Thu, 24 Apr 2025 14:42:05 -0700 Subject: [PATCH 05/16] fuse2fs: log names of xattrs being set/get/removed From: "Darrick J. Wong" <djwong@kernel.org> To: tytso@mit.edu Cc: linux-ext4@vger.kernel.org Message-ID: <174553065016.1160461.12942341433377716292.stgit@frogsfrogsfrogs> In-Reply-To: <174553064857.1160461.865616278603382583.stgit@frogsfrogsfrogs> References: <174553064857.1160461.865616278603382583.stgit@frogsfrogsfrogs> Precedence: bulk X-Mailing-List: linux-ext4@vger.kernel.org List-Id: <linux-ext4.vger.kernel.org> List-Subscribe: <mailto:linux-ext4+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-ext4+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=ARC_SIGNED,ARC_VALID, DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DMARC_PASS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=disabled version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on gandalf.ozlabs.org |
Series |
[01/16] fuse2fs: refuse unsupported features
|
expand
|
diff --git a/misc/fuse2fs.c b/misc/fuse2fs.c index 5de6562ff97ecd..f499231dd04c94 100644 --- a/misc/fuse2fs.c +++ b/misc/fuse2fs.c @@ -2271,7 +2271,7 @@ static int op_getxattr(const char *path, const char *key, char *value, ret = translate_error(fs, 0, err); goto out; } - dbg_printf(ff, "%s: ino=%d\n", __func__, ino); + dbg_printf(ff, "%s: ino=%d name=%s\n", __func__, ino, key); ret = check_inum_access(fs, ino, R_OK); if (ret) @@ -2438,7 +2438,7 @@ static int op_setxattr(const char *path EXT2FS_ATTR((unused)), ret = translate_error(fs, 0, err); goto out; } - dbg_printf(ff, "%s: ino=%d\n", __func__, ino); + dbg_printf(ff, "%s: ino=%d name=%s\n", __func__, ino, key); ret = check_inum_access(fs, ino, W_OK); if (ret == -EACCES) { @@ -2504,7 +2504,7 @@ static int op_removexattr(const char *path, const char *key) ret = translate_error(fs, 0, err); goto out; } - dbg_printf(ff, "%s: ino=%d\n", __func__, ino); + dbg_printf(ff, "%s: ino=%d name=%s\n", __func__, ino, key); ret = check_inum_access(fs, ino, W_OK); if (ret)