Re: [PATCH v2] btrfs: verify subvolid mount parameter

2018-02-23 Thread David Sterba
On Thu, Feb 15, 2018 at 01:11:37AM +0800, Anand Jain wrote: > We aren't verifying the parameter passed to the subvolid mount option, > so we won't report and fail the mount if a junk value is specified for > example, -o subvolid=abc. > This patch verifies the subvolid option with match_u64. > >

[PATCH v2] btrfs: verify subvolid mount parameter

2018-02-14 Thread Anand Jain
We aren't verifying the parameter passed to the subvolid mount option, so we won't report and fail the mount if a junk value is specified for example, -o subvolid=abc. This patch verifies the subvolid option with match_u64. Signed-off-by: Anand Jain --- v1->v2: Title