Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2197456/?format=api
{ "id": 2197456, "url": "http://patchwork.ozlabs.org/api/patches/2197456/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-ext4/patch/20260217214741.1928576-13-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-13-cel@kernel.org>", "list_archive_url": null, "date": "2026-02-17T21:47:36", "name": "[v8,12/17] f2fs: Add case sensitivity reporting to fileattr_get", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "d90722c2e9af5e548adf389b35e621ef325d333e", "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-13-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/2197456/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2197456/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "\n <SRS0=Kyn5=AV=vger.kernel.org=linux-ext4+bounces-13723-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=KSXHmwqM;\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=kyn5=av=vger.kernel.org=linux-ext4+bounces-13723-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=KSXHmwqM;\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-13723-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=\"KSXHmwqM\"", "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 4fFtgT6K7cz1xwr\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 18 Feb 2026 08:53:25 +1100 (AEDT)", "from mail.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3])\n\tby gandalf.ozlabs.org (Postfix) with ESMTP id 4fFtgT5pVzz4wDG\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 18 Feb 2026 08:53:25 +1100 (AEDT)", "by gandalf.ozlabs.org (Postfix)\n\tid 4fFtgT5kCkz4wGx; Wed, 18 Feb 2026 08:53:25 +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 4fFtgQ2c1kz4wDG\n\tfor <patchwork-incoming@ozlabs.org>; Wed, 18 Feb 2026 08:53:22 +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 CC50930A9B6E\n\tfor <patchwork-incoming@ozlabs.org>; Tue, 17 Feb 2026 21:48:19 +0000 (UTC)", "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id E5E5B2FD698;\n\tTue, 17 Feb 2026 21:48:16 +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 A1ADB2F5308;\n\tTue, 17 Feb 2026 21:48:16 +0000 (UTC)", "by smtp.kernel.org (Postfix) with ESMTPSA id 09A2AC4CEF7;\n\tTue, 17 Feb 2026 21:48:13 +0000 (UTC)" ], "ARC-Seal": [ "i=2; a=rsa-sha256; d=ozlabs.org; s=201707; t=1771365205; cv=pass;\n\tb=RitZMkf4KE49Ouq2WyhElpT61w1Xmriv7ZdhEkti39CnZWA1kGixG0OroIGUEtpl/QpOXRZXjTIFLYm3ooszBqN/t3p2I1UmWGWhaBQ6Qb1wh4F+iR0tt+BY8D14x/Ql3q2wHbW5gz8DUIUdtU97K/xOqgMaNFGDCJk6xsM2/5OEU1kC4E3TCHqrI2wRcZWJewwi463pgUAyJSa0bWN4GLuGHXRBcCSDfsjlaJDIMTDOgoQAnC18KvpFZmDkuoo7MCiTZlmxikIEAmm4svIZztAXKQrOLIROKRaSNQMgL+h+Bp/T93YziZUU+f7UIFf3U4bFZVNjHczhDyDu9Vc6lA==", "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1771364896; cv=none;\n b=RXRf8RPoCXTnxzVxeowRDd1o/7FedXwcrCsk5F+FgOYdQ5AFaDI/VySiIMJj2etPxraxsDSGHPhHMY4o3h6JahkVEzhC8EWexBJgw2nE6wqw2YG0/Lxq07jvrsfsY5FJsb8G/nK1wqJtX2etzSV+fevY7YBQbxHkkoncbIZUBMc=" ], "ARC-Message-Signature": [ "i=2; a=rsa-sha256; d=ozlabs.org; s=201707;\n\tt=1771365205; c=relaxed/relaxed;\n\tbh=NSr2G4ClER26IEkVkIzxkYDfbAmuLF50i742VXYTTg4=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version;\n b=Z7u5bnqLh8xTICBuS5mkJBOD9SNfERVPciRvyRqpBT/oN81V/VfI6++9gwUU/qiKkfia8Od51ijAJnF26ZGRkfzW41IuiYurox4EUt0FcKrtBdVoSlzPMNNdIL71yQLwt4MMe5eyBb9gj3Ggg8kyJStl0i2Dg36J4bf83fQpFB0mcF+LHl0Izh0mRry5BmiNiaItlH1m54TVCjJ3W8vE2HzxR9lOVgdpvdfT2hBsYGQ05xtlweAKURMaQBq53as+IRfY0RtFrvNYZmiguc26eaiWuT2gqW/14pGcRX760QFuADe4osiYHTClJuXwBjupdGzwdYCA3IEqC1/bByeawQ==", "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1771364896; c=relaxed/simple;\n\tbh=n04q8a+p6qCVMgSwNlacj9uu+Q/c+XUajaXJJwvQJWE=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version;\n b=I7JNVbXx7gC6U9VUSHq+bBjy+JVX2DwnLZW51rjsC8SwW3BXd7DaJ5p60MBo2WDLshOUxY1VnTSKQRFgfS3oPlMuADgY2bCvz/O9K09qMcwbphmQaMiGd6l5FRFr8FnxDAqzfzhlL3m7kFixDa8GE3uEeoBXJFuhzhpQw7GSTGo=" ], "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=KSXHmwqM; 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-13723-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=KSXHmwqM; 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=1771364896;\n\tbh=n04q8a+p6qCVMgSwNlacj9uu+Q/c+XUajaXJJwvQJWE=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=KSXHmwqMTL34fPCG5ePu5E9GIfqCfBXJyVffUYXD43ZGkvYtnbZTcb+CNdyeMfuEK\n\t sk58JKp93fHQYOC8rhEx9jp0/UBnUstvcs6i6jCx70hqqMrB5e6k+Tq93bBopYm/cf\n\t F1XP3+a2pL4sUquo8aEysgFOKhWCG8piwp9Jr6pB8Ll8xjEEYf8QeB+j8QNEkoTut7\n\t qQfaWdcJd0snnBdKfbFzv2DUTcff8YPWT8hRQEtnAsC7GlXWiwixliQVs98FtpRy7R\n\t YUgrZZPJ3IV3amJjKzwKdL3aF0GfX5NP/NWcAh1wvYf2/YWHBsC3jWi9vrAoKrQKHX\n\t ZQHYUR5bmZk4w==", "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 12/17] f2fs: Add case sensitivity reporting to fileattr_get", "Date": "Tue, 17 Feb 2026 16:47:36 -0500", "Message-ID": "<20260217214741.1928576-13-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\nNFS and other remote filesystem protocols need to determine\nwhether a local filesystem performs case-insensitive lookups\nso they can provide correct semantics to clients. Without\nthis information, f2fs exports cannot properly advertise\ntheir filename case behavior.\n\nReport f2fs case sensitivity behavior via the FS_XFLAG_CASEFOLD\nflag. Like ext4, f2fs supports per-directory case folding via\nthe casefold flag (IS_CASEFOLDED). Files are always case-preserving.\n\nReviewed-by: Chao Yu <chao@kernel.org>\nSigned-off-by: Chuck Lever <chuck.lever@oracle.com>\n---\n fs/f2fs/file.c | 7 +++++++\n 1 file changed, 7 insertions(+)", "diff": "diff --git a/fs/f2fs/file.c b/fs/f2fs/file.c\nindex c8a2f17a8f11..f7f616e041dc 100644\n--- a/fs/f2fs/file.c\n+++ b/fs/f2fs/file.c\n@@ -3453,6 +3453,13 @@ int f2fs_fileattr_get(struct dentry *dentry, struct file_kattr *fa)\n \tif (f2fs_sb_has_project_quota(F2FS_I_SB(inode)))\n \t\tfa->fsx_projid = from_kprojid(&init_user_ns, fi->i_projid);\n \n+\t/*\n+\t * f2fs preserves case (the default). If this inode is a\n+\t * casefolded directory, report case-insensitive; otherwise\n+\t * report case-sensitive (standard POSIX behavior).\n+\t */\n+\tif (IS_CASEFOLDED(inode))\n+\t\tfa->fsx_xflags |= FS_XFLAG_CASEFOLD;\n \treturn 0;\n }\n \n", "prefixes": [ "v8", "12/17" ] }