* [merged mm-nonmm-stable] fat-fix-return-value-of-vfat_bad_char-and-vfat_replace_char-functions.patch removed from -mm tree
@ 2023-02-03 6:51 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2023-02-03 6:51 UTC (permalink / raw)
To: mm-commits, hirofumi, pali, akpm
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1677 bytes --]
The quilt patch titled
Subject: fat: fix return value of vfat_bad_char() and vfat_replace_char() functions
has been removed from the -mm tree. Its filename was
fat-fix-return-value-of-vfat_bad_char-and-vfat_replace_char-functions.patch
This patch was dropped because it was merged into the mm-nonmm-stable branch
of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Pali Rohár <pali@kernel.org>
Subject: fat: fix return value of vfat_bad_char() and vfat_replace_char() functions
Date: Mon, 26 Dec 2022 15:25:12 +0100
These functions returns boolean value not wide character.
Link: https://lkml.kernel.org/r/20221226142512.13848-1-pali@kernel.org
Signed-off-by: Pali Rohár <pali@kernel.org>
Acked-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
--- a/fs/fat/namei_vfat.c~fat-fix-return-value-of-vfat_bad_char-and-vfat_replace_char-functions
+++ a/fs/fat/namei_vfat.c
@@ -200,7 +200,7 @@ static const struct dentry_operations vf
/* Characters that are undesirable in an MS-DOS file name */
-static inline wchar_t vfat_bad_char(wchar_t w)
+static inline bool vfat_bad_char(wchar_t w)
{
return (w < 0x0020)
|| (w == '*') || (w == '?') || (w == '<') || (w == '>')
@@ -208,7 +208,7 @@ static inline wchar_t vfat_bad_char(wcha
|| (w == '\\');
}
-static inline wchar_t vfat_replace_char(wchar_t w)
+static inline bool vfat_replace_char(wchar_t w)
{
return (w == '[') || (w == ']') || (w == ';') || (w == ',')
|| (w == '+') || (w == '=');
_
Patches currently in -mm which might be from pali@kernel.org are
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-02-03 6:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-03 6:51 [merged mm-nonmm-stable] fat-fix-return-value-of-vfat_bad_char-and-vfat_replace_char-functions.patch removed from -mm tree Andrew Morton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.