Files
android_kernel_xiaomi_sm8450/fs/xfs
Eric Sandeen 8e63083762 xfs: move all scrub input checking to xfs_scrub_validate
There were ad-hoc checks for some scrub types but not others;
mark each scrub type with ... it's type, and use that to validate
the allowed and/or required input fields.

Moving these checks out of xfs_scrub_setup_ag_header makes it
a thin wrapper, so unwrap it in the process.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
[darrick: add xfs_ prefix to enum, check scrub args after checking type]
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
2018-01-08 10:41:34 -08:00
..
2017-11-15 18:21:01 -08:00
2017-11-09 15:50:29 -08:00
2017-10-26 15:38:26 -07:00
2017-09-02 08:22:19 -07:00
2017-04-03 15:18:17 -07:00
2017-11-09 15:50:29 -08:00
2017-11-09 15:50:29 -08:00
2017-10-26 15:38:27 -07:00
2017-08-04 13:43:36 -07:00
2017-12-08 17:51:05 -08:00
2017-09-01 10:55:30 -07:00
2017-09-01 10:55:30 -07:00