Re: [PATCH v2 2/2] btrfs: verify max_inline mount parameter

2018-02-15 Thread David Sterba
On Thu, Feb 15, 2018 at 01:20:55AM +0800, Anand Jain wrote: > > > On 02/14/2018 12:28 AM, David Sterba wrote: > > On Tue, Feb 13, 2018 at 05:49:50PM +0800, Anand Jain wrote: > >> We aren't verifying the parameter passed to the max_inline mount option, > >> so we won't report and fail the mount

Re: [PATCH v2 2/2] btrfs: verify max_inline mount parameter

2018-02-14 Thread Anand Jain
On 02/14/2018 12:28 AM, David Sterba wrote: On Tue, Feb 13, 2018 at 05:49:50PM +0800, Anand Jain wrote: We aren't verifying the parameter passed to the max_inline mount option, so we won't report and fail the mount if a junk value is specified for example, -o max_inline=abc. This patch

Re: [PATCH v2 2/2] btrfs: verify max_inline mount parameter

2018-02-13 Thread David Sterba
On Tue, Feb 13, 2018 at 05:49:50PM +0800, Anand Jain wrote: > We aren't verifying the parameter passed to the max_inline mount option, > so we won't report and fail the mount if a junk value is specified for > example, -o max_inline=abc. > This patch converts the max_inline option to %d and checks