Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp1962190rwl; Mon, 26 Dec 2022 07:08:40 -0800 (PST) X-Google-Smtp-Source: AMrXdXvQmLHJNuK7m3n6WytF4uynA9dYhfbZS6OEV4s0kEjlovLhaGNO+/raL3wFLL7N4V6HhVd6 X-Received: by 2002:a05:6a20:e686:b0:ac:b2a3:e39c with SMTP id mz6-20020a056a20e68600b000acb2a3e39cmr21954902pzb.62.1672067320049; Mon, 26 Dec 2022 07:08:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672067320; cv=none; d=google.com; s=arc-20160816; b=mT7dD3U+YNGCb/pz2OHK2wYaqcd1BmglOPumvipr61ciZ6GAdVkyKnww1U/WRiwF1y PueWMc9mMT25Ydj/pZSB84z/gWgZoE8eWzzfyp0CvQCN2TnZIFkBtbSfeLSI1VFj9AjM 3I5MogsV6UYYuucgZDFYVjaL+3ZSW6bub6q5jrfle3rzupA/QRKIZnv+hodBX4YykDiA kQM3Pd/VQyS0nbD6dkY+Dwbxly/OLjek45xp5GueH8M3Pyyg43z49JW7na0OiS1wYamh gkO9FO2rqZKifaRR2rvvm6SnFBea/l2FFPmDxF2QH6/1Mxb9b3WgmcLDQOM8cwpmOO+D gcPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:to:from:dkim-signature; bh=py/hqC5AqhmIJHhOifjZ8ce9egMYVLAa5TzmEUDFPhQ=; b=lyK+/5kxiVyp//l4xRyemJPH17Cjn5iJQU5JWhnN/MR91UygWXDVfOeiI83Db16Dde VefToS7cPE9zznVWqBVnKJBrlS5Ed/X+20pFV1xVuEj8XDAn+KJGkqrKHUJUwtAkGReZ PXcUGBfDD40eAdEU9gfutbtJLmjTc18aYH4WwY5XUdI3Nl0/Jgyr0LEhkbnd8zIxTD8D xKQnLDBMa7iGaVtxly8sCG4w1jf3Y9//Ps8rxDnLP9mL2n3ZADryfJEQHpWMy+GECOWb xpOXmf3s1FKmQ3yBw36DvyfAZETS2cSZAxLuhTO9AsVuDndlPCd9/bWcUvywFdw5mDDS fcdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=KfPuiBmH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k23-20020a63ba17000000b004626957c3c7si12373949pgf.193.2022.12.26.07.08.30; Mon, 26 Dec 2022 07:08:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=KfPuiBmH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232134AbiLZOtB (ORCPT + 66 others); Mon, 26 Dec 2022 09:49:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53026 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232091AbiLZOs7 (ORCPT ); Mon, 26 Dec 2022 09:48:59 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 75DB8113A; Mon, 26 Dec 2022 06:48:58 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 11D4260EA3; Mon, 26 Dec 2022 14:48:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4A06BC433D2; Mon, 26 Dec 2022 14:48:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672066137; bh=km72hStlCyvSVnDwcaySpzGtg6S8p8geBbOhyy/FiPk=; h=From:To:Subject:Date:From; b=KfPuiBmHHkNvAjThtDoz60+nQQey6KhN8feVSUQltSnkkwlPYFGf8AzkcIvCClnce 9ESRtTVZFerzaTFzhg6UBZLDdRxPCCjDjXrfi5okNy0FHH6J81wW1D1pteKrzitVb7 VPC1jrcZtNbUTea3kU+JsYB/MHnXD3Ihk7xYPWFi6u+LUSonv4SrZue5zMeY/PQWnT 1uWnCdn7Wtvhb0ZtdZCx67/haESWKlz/R2AwFOswD93h7TYIoFJc5n3gXIKz7RawBs yRlf2o9oCarhs/O2OMG5w9Yzum88KL5VIG4wsltWd7tyNqSFKV547xZhdAfCzQTQ1i zVg49GRuHw84g== Received: by pali.im (Postfix) id 3778B9D7; Mon, 26 Dec 2022 15:48:54 +0100 (CET) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, OGAWA Hirofumi , Jan Kara , Alexander Viro Subject: [RFC PATCH 0/3] fs: nls: Simplification of ASCII and ISO-8859-1 Date: Mon, 26 Dec 2022 15:42:58 +0100 Message-Id: <20221226144301.16382-1-pali@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is RFC patch series which simplify ASCII and ISO-8859-1 tables. I'm not sure what is the direction of the nls code and duplicated default/iso88591 tables, so I'm sending this series as RFC. Pali Rohár (3): nls: Simplify ASCII implementation nls: Simplify ISO-8859-1 implementation nls: Replace default nls table by correct iso8859-1 table fs/nls/Kconfig | 21 ++-- fs/nls/Makefile | 1 - fs/nls/nls_ascii.c | 85 ++------------ fs/nls/nls_base.c | 187 +++++++----------------------- fs/nls/nls_iso8859-1.c | 257 ----------------------------------------- 5 files changed, 57 insertions(+), 494 deletions(-) delete mode 100644 fs/nls/nls_iso8859-1.c -- 2.20.1