diff options
| author | Anand Jain <[email protected]> | 2018-02-15 01:11:37 +0800 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2018-03-26 15:09:39 +0200 |
| commit | ccb0e7d1c1bc222966085550e27957c17138b629 (patch) | |
| tree | 8640be8a98f735e9e0f22437ee99d1a1cd2055b3 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 5811375325420052fcadd944792a416a43072b7f (diff) | |
btrfs: verify subvolid mount parameter
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.
Up to now the memparse function accepts the K/M/G/ suffixes, that are
usually meant for size values and do not make sense for a subvolume it.
Signed-off-by: Anand Jain <[email protected]>
Reviewed-by: David Sterba <[email protected]>
[ update changelog ]
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions