Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2197462/?format=api
{ "id": 2197462, "url": "http://patchwork.ozlabs.org/api/patches/2197462/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-ext4/patch/20260217214741.1928576-15-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-15-cel@kernel.org>", "list_archive_url": null, "date": "2026-02-17T21:47:38", "name": "[v8,14/17] isofs: Implement fileattr_get for case sensitivity", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "96f750b8161b56ffc101853892ad6a792a9971fa", "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-15-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/2197462/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2197462/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "\n <SRS0=ZovV=AV=vger.kernel.org=linux-ext4+bounces-13725-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=idLSOABQ;\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=zovv=av=vger.kernel.org=linux-ext4+bounces-13725-patchwork-incoming=ozlabs.org@ozlabs.org;\n receiver=patchwork.ozlabs.org)", "gandalf.ozlabs.org;\n arc=pass smtp.remote-ip=172.234.253.10 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=idLSOABQ;\n\tdkim-atps=neutral", "gandalf.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=172.234.253.10; helo=sea.lore.kernel.org;\n envelope-from=linux-ext4+bounces-13725-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=\"idLSOABQ\"", "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 4fFtgy17lJz1xwC\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 18 Feb 2026 08:53: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 4fFtgy0cvdz4wDG\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 18 Feb 2026 08:53:50 +1100 (AEDT)", "by gandalf.ozlabs.org (Postfix)\n\tid 4fFtgy0TcLz4wDK; Wed, 18 Feb 2026 08:53:50 +1100 (AEDT)", "from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])\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 4fFtgt4x7kz4wDG\n\tfor <patchwork-incoming@ozlabs.org>; Wed, 18 Feb 2026 08:53: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 E405E30B5590\n\tfor <patchwork-incoming@ozlabs.org>; Tue, 17 Feb 2026 21:48:34 +0000 (UTC)", "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id E858E2FB99D;\n\tTue, 17 Feb 2026 21:48:21 +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 A95732FDC28;\n\tTue, 17 Feb 2026 21:48:21 +0000 (UTC)", "by smtp.kernel.org (Postfix) with ESMTPSA id F218DC19423;\n\tTue, 17 Feb 2026 21:48:18 +0000 (UTC)" ], "ARC-Seal": [ "i=2; a=rsa-sha256; d=ozlabs.org; s=201707; t=1771365230; cv=pass;\n\tb=AM78D7kG+ThPSWjKKfjdxXf5Nnu08LvSR2pEpmNWRhtkmWck3aqNkVUutPnbzzENDFYd4wspMf5tFerFy5sDFyqFJGAZMbL0gULgl+lfEoMDbRYfFQsL381YJyFLl6DSSZhDyG5tfjcloUvcNOBbnzczmDmBKlLxbFKgNj+nH2ugxtmBrudI/W+cNdoEMtrdGC4wYiw6DqNY2tY82KOR1+f0xPhdfaIbipylFQ3v/hjyh5D4DfScjvvLdL+fgWt0hWNmE9uhb2xZHCF7a8neLsF83AscwZDaS7dGMZ8flOAumStuH/nqffvHBCosRBixTOfQZgFzNd/ieGu/jTnISw==", "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1771364901; cv=none;\n b=GN/QtEVK7RPWjjVxqpWvZPLA1paaBUWjECsAPIyZ4e2af1dMjMLfzYpcKCDF8riM/8wtfbLnXPrUcnQLmH30LaFnpAImuhi6kA5T/ea43HBKDW1x34fYD/eyltZ/f5D2ELw0n8246AyZxaoBu7/6eom6pVyDyFPoaRfeElRrOiQ=" ], "ARC-Message-Signature": [ "i=2; a=rsa-sha256; d=ozlabs.org; s=201707;\n\tt=1771365230; c=relaxed/relaxed;\n\tbh=ZEIS4hPXruT8INJO+2c7Nt/2QF1RBk+2ztVYUDmCA/o=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version;\n b=YtlRAAXCmW8ey0pENs9miUKHbRTiBk1afobz6NS9T5byxo3wgM5K7OEHgbT1qDfCa+owXaLEAuFVj/ONMeoxD9J/zTOAW1CHbhcGtj0wkQnRn9Mj6UQ9V3AsrBC2VAK1kLif1oZ0cnaKKQYE72qqY2CmqKGMKwiP9eWBXoCeIT2pq9CZkoIgIWsrAtgnKPNZrdjsQUVfH5OizhiGBcerycVqQkZ//6Mee4u2ivhfw0aNKBm7JbjbEJsbx6u2wBu7THh2WHn6XM9xxWDf6q15a+Y+Mpr/qEwzbDY59L3IgwwYNB1rHuHOCS8liwoFeHCaH3H6NlLPWq2h7tB2bTycTw==", "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1771364901; c=relaxed/simple;\n\tbh=vMwcFjIcGpJSP1R7CJ3+GJLH0fb47GKNB/gZZTxZOPI=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version;\n b=T562YaT7z6I8wYyrxR6tlkrQNBSfQI1wU6g0a6oSKZv5khzbzMN+ttCziPTv1xOr8NC8G8r+e6HfBjHntjMxXucSYVLETIO4flX6ktU9C98JwfAOP8niEHXglcMmwMWeqhUOci3cfGZrZHCQJ0aZX3/VBLsE1T81Mj/BrvkwpV8=" ], "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=idLSOABQ; dkim-atps=neutral;\n spf=pass (client-ip=172.234.253.10; helo=sea.lore.kernel.org;\n envelope-from=linux-ext4+bounces-13725-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=idLSOABQ; 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=1771364901;\n\tbh=vMwcFjIcGpJSP1R7CJ3+GJLH0fb47GKNB/gZZTxZOPI=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=idLSOABQJzxwgf7fSXF7i3xb3OWAVUQQAO7mKfNqDlyxbddu91Ex8n1RXhR45Sjlk\n\t 77IW5IxtxnYjQvuzcVCpf/ri37++BvKyNcAAnsFD6yxP+raSPmmGtBnxw22a18z/no\n\t NMMyjNex9bMqIkKF6EK/mNxvPnRrNaOIx2cOU6hMDRE8ol9Eu5mkmNFMtwSaBSvoyG\n\t 3Cu9yzzWLFI19U0CjAAnkTE//gCmltE8VQNGqLdTQZZ1s+nrmR7/9dyN9DuOfWv0Dv\n\t 2xDXoTxpMDpOA3iCpmWicTnGJYaAXm0ZCsqDtsQa+BG6QXQ2vt1W59hBYrxnecdiow\n\t 7YSPFci0eoMMg==", "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 14/17] isofs: Implement fileattr_get for case sensitivity", "Date": "Tue, 17 Feb 2026 16:47:38 -0500", "Message-ID": "<20260217214741.1928576-15-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\nUpper layers such as NFSD need a way to query whether a\nfilesystem handles filenames in a case-sensitive manner so\nthey can provide correct semantics to remote clients. Without\nthis information, NFS exports of ISO 9660 filesystems cannot\nproperly advertise their filename case behavior.\n\nImplement isofs_fileattr_get() to report ISO 9660 case handling\nbehavior via the FS_XFLAG_CASEFOLD flag. The 'check=r' (relaxed)\nmount option enables case-insensitive lookups, and this setting\ndetermines the value reported. By default, Joliet extensions\noperate in relaxed mode while plain ISO 9660 uses strict\n(case-sensitive) mode. All ISO 9660 variants are case-preserving,\nmeaning filenames are stored exactly as they appear on the disc.\n\nThe callback is registered only on isofs_dir_inode_operations\nbecause isofs has no custom inode_operations for regular\nfiles, and symlinks use the generic page_symlink_inode_operations.\n\nReviewed-by: Jan Kara <jack@suse.cz>\nSigned-off-by: Chuck Lever <chuck.lever@oracle.com>\n---\n fs/isofs/dir.c | 15 +++++++++++++++\n 1 file changed, 15 insertions(+)", "diff": "diff --git a/fs/isofs/dir.c b/fs/isofs/dir.c\nindex 2ca16c3fe5ef..225124eefa46 100644\n--- a/fs/isofs/dir.c\n+++ b/fs/isofs/dir.c\n@@ -14,6 +14,7 @@\n #include <linux/gfp.h>\n #include <linux/filelock.h>\n #include \"isofs.h\"\n+#include <linux/fileattr.h>\n \n int isofs_name_translate(struct iso_directory_record *de, char *new, struct inode *inode)\n {\n@@ -267,6 +268,19 @@ static int isofs_readdir(struct file *file, struct dir_context *ctx)\n \treturn result;\n }\n \n+static int isofs_fileattr_get(struct dentry *dentry, struct file_kattr *fa)\n+{\n+\tstruct isofs_sb_info *sbi = ISOFS_SB(dentry->d_sb);\n+\n+\t/*\n+\t * FS_XFLAG_CASEFOLD indicates case-insensitive lookups.\n+\t * When check=r (relaxed) is set, lookups ignore case.\n+\t */\n+\tif (sbi->s_check == 'r')\n+\t\tfa->fsx_xflags |= FS_XFLAG_CASEFOLD;\n+\treturn 0;\n+}\n+\n const struct file_operations isofs_dir_operations =\n {\n \t.llseek = generic_file_llseek,\n@@ -281,6 +295,7 @@ const struct file_operations isofs_dir_operations =\n const struct inode_operations isofs_dir_inode_operations =\n {\n \t.lookup = isofs_lookup,\n+\t.fileattr_get = isofs_fileattr_get,\n };\n \n \n", "prefixes": [ "v8", "14/17" ] }