lkml.org 
[lkml]   [2021]   [Jul]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] hugetlbfs: fix mount mode command line processing
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 <bugs+kernel.org@dtnr.ch>
> Fixes: 32021982a324 ("hugetlbfs: Convert to fs_context")
> Signed-off-by: Mike Kravetz <mike.kravetz@oracle.com>
> CC: <stable@vger.kernel.org>

Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org>

\
 
 \ /
  Last update: 2021-07-21 20:45    [W:0.037 / U:0.464 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site