Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2197433/?format=api
{ "id": 2197433, "url": "http://patchwork.ozlabs.org/api/patches/2197433/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-ext4/patch/20260217214741.1928576-7-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-7-cel@kernel.org>", "list_archive_url": null, "date": "2026-02-17T21:47:30", "name": "[v8,06/17] hfs: Implement fileattr_get for case sensitivity", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "797b3d805af07a12309a2c07934aa0eb3c51bcbf", "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-7-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/2197433/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2197433/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "\n <SRS0=+Hl9=AV=vger.kernel.org=linux-ext4+bounces-13717-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=F0tcFrm+;\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=+hl9=av=vger.kernel.org=linux-ext4+bounces-13717-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=F0tcFrm+;\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-13717-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=\"F0tcFrm+\"", "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 4fFtcn40vQz1xwC\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 18 Feb 2026 08:51:05 +1100 (AEDT)", "from mail.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3])\n\tby gandalf.ozlabs.org (Postfix) with ESMTP id 4fFtcn3TfWz4w9y\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 18 Feb 2026 08:51:05 +1100 (AEDT)", "by gandalf.ozlabs.org (Postfix)\n\tid 4fFtcn3PGZz4wDG; Wed, 18 Feb 2026 08:51:05 +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 4fFtck0drzz4w9y\n\tfor <patchwork-incoming@ozlabs.org>; Wed, 18 Feb 2026 08:51:02 +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 5C6E43069D55\n\tfor <patchwork-incoming@ozlabs.org>; Tue, 17 Feb 2026 21:48:03 +0000 (UTC)", "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id A6E312FD1BF;\n\tTue, 17 Feb 2026 21:48:01 +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 6471C2FA0D3;\n\tTue, 17 Feb 2026 21:48:01 +0000 (UTC)", "by smtp.kernel.org (Postfix) with ESMTPSA id 0994FC19423;\n\tTue, 17 Feb 2026 21:47:58 +0000 (UTC)" ], "ARC-Seal": [ "i=2; a=rsa-sha256; d=ozlabs.org; s=201707; t=1771365065; cv=pass;\n\tb=XSGfMcWTSC6VAsP2g9SiXoDIVfOr6rGhRJAGtCdb23/gzs95d7xrFqugVk2m8T3ENyMbSoXX+TrF9ZBDuM4ofJzm+vqUFQIz68vAa9to5irXTxcO1JbahL0EXy0dHP3BSv0MkmBQQXXQklxUpeFUyuHZjrAuu4bkDa5SvMNPWBLNBTAwj90LrHHkA6uxtYING5ZfK+GZdtwsuYQO+YTUMNGc1qT2sKbph1FVcKC4SIjmnZ+LsjzrXZMQvWp1xrLbaiGEax3Mp5POde/TMdrmomeZRQT7OTml0eG8MwhUFUOmRYoW+tJfUYoUONb9/JStsmENPXksKAp8JIsdLi+3gA==", "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1771364881; cv=none;\n b=TC4m7KrfSmz8nfpSHH+27o7XH1X0RTaDkkofQ9U5NT0UWUmmSZdUttc9SYL1tU715QtMi20cIwuGxIcMAtIQZv6Uiz8OeIqUbupc/3ssu4mg8+0xpyvi200Y0xsD5Au/SUNavw58GD/7zQpai0+woc+9CSi75WgafAQ7NA87LS0=" ], "ARC-Message-Signature": [ "i=2; a=rsa-sha256; d=ozlabs.org; s=201707;\n\tt=1771365065; c=relaxed/relaxed;\n\tbh=9CisdraOAaF4FZeoCGaW9d/TvwT+5wEXWSNQWHo4LS8=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version;\n b=m76R2p6BbtRD8TU1GknwtIhJuy5+SjjS3YwMWDxTZSIECUUNGTdl2pOAFs9bPZhnQCClCBIml+YvW6U2n5kAY3I2RWhFgF8dqMOHrAZ9GX4ofqIxmF165t+QpBJAyyl46Xds2kn7Z6l01e9+kUbTXCrDjuZY/jKc/ZcIt0QGQI7MNtZIIzAQJ4aI7RP1MIKihNDY9hY9ioPHDt6PhUNBlwRdK/AP+XBshGMFJfvOoXTgpyoXg6EthNntVCfdK9JQwxGMoxfNKMfU3qHjnQ9ZjvxQKoriajmAGvdu/A54Dzk3n+WeKcJDizaBHyCxGqLzi5MGakSzy4ZDeHQSATuzkA==", "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1771364881; c=relaxed/simple;\n\tbh=yS7ttuYwzHepG/z83tSUH0NgHRyTHV6OlDbQ8JRzYTA=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version;\n b=CbzRd9f3DndfO/zDrKX25QC5e9zF/Okgu+pt27qjsXVFhNsRlb62NWFtkY2+llbreTeSxXrJjlxb2NcUQIDCqDmXTBAA+rnEFQoyZqwtqE5hWJXouOkHa3s9r2OSwUqyPm53eRacMvZjMFwYGlgxtoXdsmwzfEh+6+LfaFBDgeo=" ], "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=F0tcFrm+; dkim-atps=neutral;\n spf=pass (client-ip=172.234.253.10; helo=sea.lore.kernel.org;\n envelope-from=linux-ext4+bounces-13717-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=F0tcFrm+; 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=1771364881;\n\tbh=yS7ttuYwzHepG/z83tSUH0NgHRyTHV6OlDbQ8JRzYTA=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=F0tcFrm+ygZycs9N8dJQtgnOLZX7H9QkIyBoYIwRLNg9Vs+NwJ3bCs1CWyitNVeTf\n\t E1f7UQID3ghZm2dZYsLpd/ZPxFv7OP54vWGsEP9vWH3T6x2PubKDcnhwaaJjyMxQ58\n\t lZbFctpSF+nvvcBcSW/R2n/70xC+Wk9HdpSiCWoOggBh4f//tdFbylOsTUHzc78M5l\n\t VxDL9CBPo0RKii+BR1KSjZIDsG7wgdgVDG21SevZbRRe8mH2rl7WldSxTMnteYLyi/\n\t Kt3dYj84jSagWCZ4yRCnSiW56oz09e4nj7w3/RWIMoHoIWOslSdzg6PzAGY2hNH1CD\n\t ZY9hm6ANZ971A==", "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 06/17] hfs: Implement fileattr_get for case sensitivity", "Date": "Tue, 17 Feb 2026 16:47:30 -0500", "Message-ID": "<20260217214741.1928576-7-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 HFS case sensitivity behavior via the FS_XFLAG_CASEFOLD\nflag. HFS is always case-insensitive (using Mac OS Roman case\nfolding) and always preserves case at rest.\n\nReviewed-by: Viacheslav Dubeyko <slava@dubeyko.com>\nSigned-off-by: Chuck Lever <chuck.lever@oracle.com>\n---\n fs/hfs/dir.c | 1 +\n fs/hfs/hfs_fs.h | 2 ++\n fs/hfs/inode.c | 13 +++++++++++++\n 3 files changed, 16 insertions(+)", "diff": "diff --git a/fs/hfs/dir.c b/fs/hfs/dir.c\nindex 0c615c078650..f85ef69a8375 100644\n--- a/fs/hfs/dir.c\n+++ b/fs/hfs/dir.c\n@@ -328,4 +328,5 @@ const struct inode_operations hfs_dir_inode_operations = {\n \t.rmdir\t\t= hfs_remove,\n \t.rename\t\t= hfs_rename,\n \t.setattr\t= hfs_inode_setattr,\n+\t.fileattr_get\t= hfs_fileattr_get,\n };\ndiff --git a/fs/hfs/hfs_fs.h b/fs/hfs/hfs_fs.h\nindex ac0e83f77a0f..1b23448c9a48 100644\n--- a/fs/hfs/hfs_fs.h\n+++ b/fs/hfs/hfs_fs.h\n@@ -177,6 +177,8 @@ extern int hfs_get_block(struct inode *inode, sector_t block,\n extern const struct address_space_operations hfs_aops;\n extern const struct address_space_operations hfs_btree_aops;\n \n+struct file_kattr;\n+int hfs_fileattr_get(struct dentry *dentry, struct file_kattr *fa);\n int hfs_write_begin(const struct kiocb *iocb, struct address_space *mapping,\n \t\t loff_t pos, unsigned int len, struct folio **foliop,\n \t\t void **fsdata);\ndiff --git a/fs/hfs/inode.c b/fs/hfs/inode.c\nindex 878535db64d6..b3e6e46ddd14 100644\n--- a/fs/hfs/inode.c\n+++ b/fs/hfs/inode.c\n@@ -18,6 +18,7 @@\n #include <linux/uio.h>\n #include <linux/xattr.h>\n #include <linux/blkdev.h>\n+#include <linux/fileattr.h>\n \n #include \"hfs_fs.h\"\n #include \"btree.h\"\n@@ -716,6 +717,17 @@ static int hfs_file_fsync(struct file *filp, loff_t start, loff_t end,\n \treturn ret;\n }\n \n+int hfs_fileattr_get(struct dentry *dentry, struct file_kattr *fa)\n+{\n+\t/*\n+\t * Report case-insensitive behavior: all name comparisons use\n+\t * Mac OS Roman case folding. FS_XFLAG_CASENONPRESERVING remains\n+\t * unset because original case is preserved on disk.\n+\t */\n+\tfa->fsx_xflags |= FS_XFLAG_CASEFOLD;\n+\treturn 0;\n+}\n+\n static const struct file_operations hfs_file_operations = {\n \t.llseek\t\t= generic_file_llseek,\n \t.read_iter\t= generic_file_read_iter,\n@@ -732,4 +744,5 @@ static const struct inode_operations hfs_file_inode_operations = {\n \t.lookup\t\t= hfs_file_lookup,\n \t.setattr\t= hfs_inode_setattr,\n \t.listxattr\t= generic_listxattr,\n+\t.fileattr_get\t= hfs_fileattr_get,\n };\n", "prefixes": [ "v8", "06/17" ] }