Re: [PATCH] xfs/153: add _require_idmapped_mounts check

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]



On Fri, Apr 30, 2021 at 05:31:21PM +0800, Jinhui Huang wrote:
> When this case runs on system without mount_setattr syscall support, it
> will report errors rather than skip. so we add _require_idmapped_mounts
> to check if mount_setattr syscall is supported.
> 
> Signed-off-by: Jinhui Huang <huangjh.jy@xxxxxxxxxxxxxx>

Seems pretty straightforward...

Reviewed-by: Darrick J. Wong <djwong@xxxxxxxxxx>

--D

> ---
>  tests/xfs/153 | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/tests/xfs/153 b/tests/xfs/153
> index ab2469d..19cfc46 100755
> --- a/tests/xfs/153
> +++ b/tests/xfs/153
> @@ -39,6 +39,7 @@ chmod a+rwx $seqres.full	# arbitrary users will write here
>  _require_scratch
>  _require_xfs_quota
>  _require_user fsgqa
> +_require_idmapped_mounts
>  _require_test_program "idmapped-mounts/mount-idmapped"
>  
>  _scratch_mkfs >/dev/null 2>&1
> -- 
> 1.8.3.1
> 



[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux