Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp4280422imm; Mon, 30 Jul 2018 11:39:53 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcugrklXoi36C+iXYUlmpp2u02AJukliA8y8gkoluG26YQmFKjhsa9rc0+2cZ5szmaooJaR X-Received: by 2002:a65:64c8:: with SMTP id t8-v6mr17286339pgv.110.1532975992949; Mon, 30 Jul 2018 11:39:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532975992; cv=none; d=google.com; s=arc-20160816; b=jXnTkNzJrBDzE2AVs+/0OExY0Y9plfOGEuHDYfIDJvFb7XnTAwv47fD7RSCd3xW2gY oPuuDB9lqYaCrmJvECxmIjeHeZQCBqP7uIBd23GcajuyqlKCTce1BnVwwxdz/IFrlPXF ZLjeAsE+OnSRoS34+jINSyiWUoqYmnFMar2Sjdk11VM2mLVDSbk7cp652JmYgNvYdNnN A4IXsJ2Q5HLfqe86sbo/HcJyvtZfNYtgKCfJINXWhOEa+Mc6JBi8eoX/L3ri5dUeGiZq HD33QqzWv3RRhk2to/zy9ziM4r56E9RCzNzmdY8hM0PzBrIrVySKyEHxcxaW02FXFDc4 pAeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=W3QduvDaLU+4yAWpcdGF5lrvtkktdZ5TVEt/V4ezlds=; b=PY748gU2yF5yt76fjQQriu3mmOxOY4rvyBaqA78YuOqKMumKLjwMoqYO42ICDIZbGy y2sAlee4NqCjxLegTH3Ji5rDf5ckCnFe6vywhKSu9lAEskYbHj0/pktT4BJGeuW0fNT2 Rjy2Dvx0nr4LEVDAlLnpg/lldAg6CR8q+bzI6A3VXOlM3v2XE0CmcVwxgKMnY8+gbNsv l02wJEiUloK75PackBI1gCwK529tLWxsfxaXnj8OuxEYngT/2NvS8Ap3Y1O1+HAsIUFP /fk22zSXiRXGzAIo9EUuvLYlQoM1jK3gyuDuB5b/ECIf9ri8r2ScVeAQBpYB7+Zc8vy+ L3Sw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=KmQx0bOS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c1-v6si9971476pla.98.2018.07.30.11.39.38; Mon, 30 Jul 2018 11:39:52 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=KmQx0bOS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731597AbeG3UPI (ORCPT + 99 others); Mon, 30 Jul 2018 16:15:08 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:34324 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727474AbeG3UPH (ORCPT ); Mon, 30 Jul 2018 16:15:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=W3QduvDaLU+4yAWpcdGF5lrvtkktdZ5TVEt/V4ezlds=; b=KmQx0bOSBTSrygvZFA5Bjw+VL xkf78jrsAr2oHf6C8icCB+mAU6dZ7kgp8ZHU8lPEaZLEv4aEPt00Yg9B3w8SI4jxZkkMeUFVOG4Qs sP0KkUFCDHeVuGknNdQTDToPmM6LJuGja9tzc82P+9nmvM0nssUDrzN25MnQgsxT9q0OpZUdTi02/ 21TBS78frRl6so8sCjdW2+ThwyT3p1WWaSqfonUepU713/Ul8VyZv93Su9rn60JD34kbPZqfBEfQj G861Rhnal5Ykx9vRoT+PzBiWlviL0N0BF++xzGLc8lmliri9csxih/5sUEZ9hmm7xlPr2cCqkshzf vu1zwggTA==; Received: from willy by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1fkD4C-0008JT-3x; Mon, 30 Jul 2018 18:38:48 +0000 Date: Mon, 30 Jul 2018 11:38:47 -0700 From: Matthew Wilcox To: Linus Torvalds Cc: Pavel Machek , David Howells , Al Viro , linux-fsdevel , Linux Kernel Mailing List Subject: Re: [PATCH 36/38] vfs: Add a sample program for the new mount API [ver #10] Message-ID: <20180730183847.GB5544@bombadil.infradead.org> References: <20180729113749.GA7333@amd> <153271267980.9458.7640156373438016898.stgit@warthog.procyon.org.uk> <153271292330.9458.14583488053811372222.stgit@warthog.procyon.org.uk> <25489.1532953411@warthog.procyon.org.uk> <20180730143104.GB24051@amd> <20180730180842.GA5544@bombadil.infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 30, 2018 at 11:18:53AM -0700, Linus Torvalds wrote: > On Mon, Jul 30, 2018 at 11:08 AM Matthew Wilcox wrote: > > > > Have you looked at how gettext() works? It uses the english text as > > a search string and replaces it with the localised string. This is > > a very common design! > > I absolutely refuse to have anything to do with gettext in the kernel. I wasn't proposing putting gettext in the kernel. I was reacting to Pavel saying "You can't return English strings from the kernel, you have to translate numbers into any language's strings". If somebody wants to use gettext() in userspace to translate the string they got back from the kernel, that's fine. But it won't produce very useful bug reports.