Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2197437/?format=api
{ "id": 2197437, "url": "http://patchwork.ozlabs.org/api/patches/2197437/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-ext4/patch/20260217214741.1928576-9-cel@kernel.org/", "project": { "id": 8, "url": "http://patchwork.ozlabs.org/api/projects/8/?format=api", "name": "Linux ext4 filesystem development", "link_name": "linux-ext4", "list_id": "linux-ext4.vger.kernel.org", "list_email": "linux-ext4@vger.kernel.org", "web_url": null, "scm_url": null, "webscm_url": null, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20260217214741.1928576-9-cel@kernel.org>", "list_archive_url": null, "date": "2026-02-17T21:47:32", "name": "[v8,08/17] ext4: Report case sensitivity in fileattr_get", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "e034fdb7686fe449b4ddec76918d44c1b3d251df", "submitter": { "id": 86689, "url": "http://patchwork.ozlabs.org/api/people/86689/?format=api", "name": "Chuck Lever", "email": "cel@kernel.org" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/linux-ext4/patch/20260217214741.1928576-9-cel@kernel.org/mbox/", "series": [ { "id": 492483, "url": "http://patchwork.ozlabs.org/api/series/492483/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-ext4/list/?series=492483", "date": "2026-02-17T21:47:25", "name": "Subject: Exposing case folding behavior", "version": 8, "mbox": "http://patchwork.ozlabs.org/series/492483/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2197437/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2197437/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "\n <SRS0=fo9V=AV=vger.kernel.org=linux-ext4+bounces-13719-patchwork-incoming=ozlabs.org@ozlabs.org>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "linux-ext4@vger.kernel.org" ], "Delivered-To": [ "patchwork-incoming@legolas.ozlabs.org", "patchwork-incoming@ozlabs.org" ], "Authentication-Results": [ "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256\n header.s=k20201202 header.b=Es8TacpK;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=ozlabs.org\n (client-ip=2404:9400:2221:ea00::3; helo=mail.ozlabs.org;\n envelope-from=srs0=fo9v=av=vger.kernel.org=linux-ext4+bounces-13719-patchwork-incoming=ozlabs.org@ozlabs.org;\n receiver=patchwork.ozlabs.org)", "gandalf.ozlabs.org;\n arc=pass smtp.remote-ip=\"2600:3c0a:e001:db::12fc:5321\"\n arc.chain=subspace.kernel.org", "gandalf.ozlabs.org;\n dmarc=pass (p=quarantine dis=none) header.from=kernel.org", "gandalf.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256\n header.s=k20201202 header.b=Es8TacpK;\n\tdkim-atps=neutral", "gandalf.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2600:3c0a:e001:db::12fc:5321; helo=sea.lore.kernel.org;\n envelope-from=linux-ext4+bounces-13719-patchwork-incoming=ozlabs.org@vger.kernel.org;\n receiver=ozlabs.org)", "smtp.subspace.kernel.org;\n\tdkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org\n header.b=\"Es8TacpK\"", "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=10.30.226.201" ], "Received": [ "from mail.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fFtdf2nr2z1xwC\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 18 Feb 2026 08:51:50 +1100 (AEDT)", "from mail.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3])\n\tby gandalf.ozlabs.org (Postfix) with ESMTP id 4fFtdf2HcYz4w9y\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 18 Feb 2026 08:51:50 +1100 (AEDT)", "by gandalf.ozlabs.org (Postfix)\n\tid 4fFtdf2BkNz4wBF; Wed, 18 Feb 2026 08:51:50 +1100 (AEDT)", "from sea.lore.kernel.org (sea.lore.kernel.org\n [IPv6:2600:3c0a:e001:db::12fc:5321])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby gandalf.ozlabs.org (Postfix) with ESMTPS id 4fFtdZ6SsZz4w9y\n\tfor <patchwork-incoming@ozlabs.org>; Wed, 18 Feb 2026 08:51:46 +1100 (AEDT)", "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sea.lore.kernel.org (Postfix) with ESMTP id CD483307B204\n\tfor <patchwork-incoming@ozlabs.org>; Tue, 17 Feb 2026 21:48:07 +0000 (UTC)", "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 0474A2FC004;\n\tTue, 17 Feb 2026 21:48:07 +0000 (UTC)", "from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org\n [10.30.226.201])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby smtp.subspace.kernel.org (Postfix) with ESMTPS id B58F52F5A36;\n\tTue, 17 Feb 2026 21:48:06 +0000 (UTC)", "by smtp.kernel.org (Postfix) with ESMTPSA id 017B4C4CEF7;\n\tTue, 17 Feb 2026 21:48:03 +0000 (UTC)" ], "ARC-Seal": [ "i=2; a=rsa-sha256; d=ozlabs.org; s=201707; t=1771365110; cv=pass;\n\tb=GhmMET5tGbsMFTMd+2HzrtSl9ZUUzPLc7fhCCTxxmtXixOJAoyOWgLfjfHg/pRMuXyJpbKJPjnABxupmvFi+JoCYTMczqO7DDkVVb32wNqenfogiSxzLgEBellCdIyC9Lw8WKIL8MNhOfXDTM+LW1+1cGi1wNNaxTPSAKtQgxjVanEOxPcBvbiWI072sNjo1jUx11djTD76DBZBVwBiPy6feH4yF0mfBn6dg5lcmyoSauQTw79gwfhvE9XtUwov5hNgXZChmIO02nmdWmjIRP/GaT88xfde/dsFDc35X1Ct9148XSW8iEYC4/H9B5YUe3e0bDAS+2gM+sw+509wp6g==", "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1771364886; cv=none;\n b=oO9z/w2Av0EgrmO/dviSvcq6GQ3/o6BTAivE+2rebNLZCY0VVBDQa3OZBpV4X88C7Yobfh0Kirc2ptO0WATAb7BsEN1BvBVjhk1bh8OowSdDYqr5fiV3MA/s5aSoqej0MQl+ooDnQy4+miZnmZTkRBzViviLhxTgHZ3Ms3KgSyw=" ], "ARC-Message-Signature": [ "i=2; a=rsa-sha256; d=ozlabs.org; s=201707;\n\tt=1771365110; c=relaxed/relaxed;\n\tbh=gYj0JGHR507wp/kGt0ZgZFxaM7wb6KO1V52sE2w+KCA=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version;\n b=v0laE5F6XE1I7WmtY6qT2HyxpDS3jnJgxG5Ql66Cqmrg22c591d8F2l5MVH16zu/jHTPyWW15bGCH0kGUrdQX5rFmDlvd0t9sXr78cxj7l8OWX9kQsUBKiLVGuHmebBJaSou1/ZiTkjrx3oIN6vK1tv58PSqet6t5NqkwLxDwd44HpD+iKPPav6RJlvcSxX4FPLYHirXxVkCMnDjQ5nSUeZaNZIoOEhthrv68SveqxJvxo5WRs1QalFqr6qz09J+/87iGYqhUegWXqq0lceRUATkcHGEglqXfVbci+kh3foQ1250p8stgROMEyTrIQIIMoGgoWNXG35hUeAclXxBzA==", "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1771364886; c=relaxed/simple;\n\tbh=hTKaZ1DqrpDPT8D9Hsa+8JFcRjOoKkJIQ9HwVjo6HdY=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version;\n b=RApVpYCDp+mTQ3NHZFV+lhf/2Scei+kUPKPtSKtFagrBPM+majrkHh/iPKPH36FbMIvwi+Xhbo6/cUOUbMpVsJEnIbZ5E/oG1SPsFvv3M5/ikIPtioCxREAwWq195aCy4/nfaThZr0KX62jMvA6UZA9poHXTzW06vny4xb2I2Ik=" ], "ARC-Authentication-Results": [ "i=2; gandalf.ozlabs.org;\n dmarc=pass (p=quarantine dis=none) header.from=kernel.org;\n dkim=pass (2048-bit key;\n unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256\n header.s=k20201202 header.b=Es8TacpK; dkim-atps=neutral;\n spf=pass (client-ip=2600:3c0a:e001:db::12fc:5321; helo=sea.lore.kernel.org;\n envelope-from=linux-ext4+bounces-13719-patchwork-incoming=ozlabs.org@vger.kernel.org;\n receiver=ozlabs.org) smtp.mailfrom=vger.kernel.org", "i=1; smtp.subspace.kernel.org;\n dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org\n header.b=Es8TacpK; arc=none smtp.client-ip=10.30.226.201" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org;\n\ts=k20201202; t=1771364886;\n\tbh=hTKaZ1DqrpDPT8D9Hsa+8JFcRjOoKkJIQ9HwVjo6HdY=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=Es8TacpKYI7rQxz+XweHWdzuT/zgCJVBa3OY1udo7vycYwkZ/4znBYaBURWNZ98Yp\n\t RaQBkNkUOE7+gcDQy72TK3tHy3S+DPEDc4/f4cD1VXk3BZlqyC+5npM3NSxCCNwepy\n\t UiZUNypdReMu0/4f/YwqwY/ku+wDMxEvRqooibz9MDIfkoIp9LC48t7+IawAOf3C6M\n\t idiefwYJQ3tc0TVrk99AVkHGvtc2M4WBG8tcLKvQ0uuhBZN/65dKUyoS0ZcdThHzzX\n\t UfBoiUsWeDDHpaVSQ6fwQFSPwDCe/KhijmTuVGcoeMWjpvROwpRKefnSiFS2rMBm+Z\n\t Q194pkU9htQ/w==", "From": "Chuck Lever <cel@kernel.org>", "To": "Al Viro <viro@zeniv.linux.org.uk>,\n\tChristian Brauner <brauner@kernel.org>,\n\tJan Kara <jack@suse.cz>", "Cc": "linux-fsdevel@vger.kernel.org,\n\tlinux-ext4@vger.kernel.org,\n\tlinux-xfs@vger.kernel.org,\n\tlinux-cifs@vger.kernel.org,\n\tlinux-nfs@vger.kernel.org,\n\tlinux-api@vger.kernel.org,\n\tlinux-f2fs-devel@lists.sourceforge.net,\n\thirofumi@mail.parknet.co.jp,\n\tlinkinjeon@kernel.org,\n\tsj1557.seo@samsung.com,\n\tyuezhang.mo@sony.com,\n\talmaz.alexandrovich@paragon-software.com,\n\tslava@dubeyko.com,\n\tglaubitz@physik.fu-berlin.de,\n\tfrank.li@vivo.com,\n\ttytso@mit.edu,\n\tadilger.kernel@dilger.ca,\n\tcem@kernel.org,\n\tsfrench@samba.org,\n\tpc@manguebit.org,\n\tronniesahlberg@gmail.com,\n\tsprasad@microsoft.com,\n\ttrondmy@kernel.org,\n\tanna@kernel.org,\n\tjaegeuk@kernel.org,\n\tchao@kernel.org,\n\thansg@kernel.org,\n\tsenozhatsky@chromium.org,\n\tChuck Lever <chuck.lever@oracle.com>", "Subject": "[PATCH v8 08/17] ext4: Report case sensitivity in fileattr_get", "Date": "Tue, 17 Feb 2026 16:47:32 -0500", "Message-ID": "<20260217214741.1928576-9-cel@kernel.org>", "X-Mailer": "git-send-email 2.53.0", "In-Reply-To": "<20260217214741.1928576-1-cel@kernel.org>", "References": "<20260217214741.1928576-1-cel@kernel.org>", "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-Transfer-Encoding": "8bit", "X-Spam-Status": "No, score=-1.2 required=5.0 tests=ARC_SIGNED,ARC_VALID,\n\tDKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DMARC_PASS,\n\tMAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=disabled\n\tversion=4.0.1", "X-Spam-Checker-Version": "SpamAssassin 4.0.1 (2024-03-25) on gandalf.ozlabs.org" }, "content": "From: Chuck Lever <chuck.lever@oracle.com>\n\nReport ext4's case sensitivity behavior via the FS_XFLAG_CASEFOLD\nflag. ext4 always preserves case at rest.\n\nCase sensitivity is a per-directory setting in ext4. If the queried\ninode is a casefolded directory, report case-insensitive; otherwise\nreport case-sensitive (standard POSIX behavior).\n\nReviewed-by: Jan Kara <jack@suse.cz>\nSigned-off-by: Chuck Lever <chuck.lever@oracle.com>\n---\n fs/ext4/ioctl.c | 7 +++++++\n 1 file changed, 7 insertions(+)", "diff": "diff --git a/fs/ext4/ioctl.c b/fs/ext4/ioctl.c\nindex 3ae9cb50a0c0..a93017b80aa0 100644\n--- a/fs/ext4/ioctl.c\n+++ b/fs/ext4/ioctl.c\n@@ -999,6 +999,13 @@ int ext4_fileattr_get(struct dentry *dentry, struct file_kattr *fa)\n \tif (ext4_has_feature_project(inode->i_sb))\n \t\tfa->fsx_projid = from_kprojid(&init_user_ns, ei->i_projid);\n \n+\t/*\n+\t * Case folding is a directory attribute in ext4. Set FS_XFLAG_CASEFOLD\n+\t * for directories with the casefold attribute; all other inodes use\n+\t * standard case-sensitive semantics.\n+\t */\n+\tif (IS_CASEFOLDED(inode))\n+\t\tfa->fsx_xflags |= FS_XFLAG_CASEFOLD;\n \treturn 0;\n }\n \n", "prefixes": [ "v8", "08/17" ] }