Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp13700pxv; Wed, 21 Jul 2021 14:06:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzJrSo2WAGIcUneQwA9eCEhJTPH4S1kBkzng4IHfwpm07dz52U/rbzgckF8pRL5qbTMH9WV X-Received: by 2002:a92:c8c5:: with SMTP id c5mr8820194ilq.1.1626901536349; Wed, 21 Jul 2021 14:05:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626901536; cv=none; d=google.com; s=arc-20160816; b=PmCclXuiTgYy8uJkyhjmPWVJOp+CgMIbWaqKaHoxo/nJi/lfxzqqI3e1SYkkbd2zXx clU4uSaXYBigY0JJKaJtaHHWDCu60205jTnOERsQfUmmcCGLCN29Q7trxjYTnwUVpjsE HBbsey0brNPZrJ1Pj5JvFUA29RirgBP5PfY7j4JdER54VWZfDQLN/nxF32nvpsBgQzhX YsWlLCd/w1SkfHBHbp86ezR7cjJUqCuYMY5mNp8fj3dSo8aYFJXgYloUOhjgcjYf46Pf BNRRye8npod53ffW+9/CPZujCiU3HEDAfeazZTcbVGsBERwNozNz9EVnR6e6XaxHgZxS JX9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=9RT4PyD91dRKt/JcdMzt4T8CVasdTpw3pfAjcsgWVk4=; b=mpfeRdhmZLWKef3x5cObRSZhPPhl4oKnhTdVdR4shadbKOd8qQgz6huc4aFUHU2KCa zvwxivrxlnpgrytmW4e0Hvb85PLHOYG224MyHnO8iZD+QHuTQ5aZScyjGk6r4j40gnT7 X8mKAUHFVttoZu+MpX3ww8hU7PHjD45cfhHYOVMhL4Qv7daihS/uo8heoZoAnWso/0I+ V34a4azH1QAS+EJUbDHUFSixJx2nzwTrwVuLN9ob1+zUZpKMpuoKYllhGC+rSCQOqJLb rcSevyxvzcNTECVPd/YtwVHh96TZDWzkvpkeJ2PeH/57fgu9dN6/xsR1CuGKfk/MIsS2 Eong== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=wZJ2oFLg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i42si18231016jav.32.2021.07.21.14.05.23; Wed, 21 Jul 2021 14:05:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=wZJ2oFLg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239218AbhGUSCw (ORCPT + 99 others); Wed, 21 Jul 2021 14:02:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58726 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237864AbhGUSCw (ORCPT ); Wed, 21 Jul 2021 14:02:52 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9F906C061575; Wed, 21 Jul 2021 11:43:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.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; bh=9RT4PyD91dRKt/JcdMzt4T8CVasdTpw3pfAjcsgWVk4=; b=wZJ2oFLgnqPkvGsQjb54IVdM11 1QyaCu74yf7MAPhpTK8hvKrOsN/Sa8z0UsgX9TU1/MkVp10mRCxeKNnbQoO+f7CHpvsNT4KVtSCCU /1zgCeTSMlbxbwLiO0/QURyZ/Ox0e+HTg82tQWAue1IBUNn6O1DK5vBe9cdv8navMvbGFY3VHmphp J10hU87wQOzeWw9DHb0Xb6z9jEh1IczLM+qDPMDdR7dTBk22IkUm+jgA09svhhrDB2m+D7o/JyYzt 87ilDYkZ9ANLoU+NzIGiT3TABOaugyANGybsnEVkduOS95XjqSzkal/lxdLo+lMClUA9LGLvPtisI nxZg6XJw==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1m6HBL-009VB3-Kf; Wed, 21 Jul 2021 18:43:07 +0000 Date: Wed, 21 Jul 2021 19:42:59 +0100 From: Matthew Wilcox To: Mike Kravetz Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, David Howells , Al Viro , Andrew Morton , Dennis Camera , stable@vger.kernel.org Subject: Re: [PATCH] hugetlbfs: fix mount mode command line processing Message-ID: References: <20210721183326.102716-1-mike.kravetz@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210721183326.102716-1-mike.kravetz@oracle.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 21, 2021 at 11:33:26AM -0700, Mike Kravetz wrote: > In commit 32021982a324 ("hugetlbfs: Convert to fs_context") processing > of the mount mode string was changed from match_octal() to fsparam_u32. > This changed existing behavior as match_octal does not require octal > values to have a '0' prefix, but fsparam_u32 does. > > Use fsparam_u32oct which provides the same behavior as match_octal. > > Reported-by: Dennis Camera > Fixes: 32021982a324 ("hugetlbfs: Convert to fs_context") > Signed-off-by: Mike Kravetz > CC: Reviewed-by: Matthew Wilcox (Oracle)