commit | c1a28a6e3a9492d8e19f51e3d65e66acfcc8c9ad | [log] [tgz] |
---|---|---|
author | Xiao Yang <yangx.jy@cn.fujitsu.com> | Thu Aug 06 10:13:35 2020 +0800 |
committer | Eryu Guan <guaneryu@gmail.com> | Mon Aug 10 01:03:33 2020 +0800 |
tree | 7400e789f521d1540e269404e09707508ee4e8d1 | |
parent | f4a1c15b58de009e93ac2dcd7122eaed8b4212bc [diff] |
common/rc: Introduce helpers for new dax mount options and FS_XFLAG_DAX 1) _check_scratch_dax_mountopt() checks old/new dax mount option and returns a value. 2) _require_scratch_dax_mountopt() throws notrun if _check_scratch_dax_mountopt() returns a non-zero value. 3) _require_dax_iflag() checks FS_XFLAG_DAX. Signed-off-by: Xiao Yang <yangx.jy@cn.fujitsu.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>