Re: [PATCH] common/rc: allow setting $SCRATCH_FS_MOUNT_OPTS

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



On Thu, Nov 05, 2020 at 10:09:36AM -0500, Jeff Layton wrote:
> We already have a $TEST_FS_MOUNT_OPTS which gets applied only to the
> test mount, but we don't have a corresponding variable for the scratch
> mount. Add one.

MOUNT_OPTIONS is used for the scratch mount, and
_common_dev_mount_options includes it. Would you please confirm if that
works for you?

Thanks,
Eryu

> 
> Signed-off-by: Jeff Layton <jlayton@xxxxxxxxxx>
> ---
>  common/rc | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/common/rc b/common/rc
> index 65ebfe201139..23874d1e5b8e 100644
> --- a/common/rc
> +++ b/common/rc
> @@ -308,7 +308,7 @@ _scratch_mount_options()
>  {
>  	_scratch_options mount
>  
> -	echo `_common_dev_mount_options $*` $SCRATCH_OPTIONS \
> +	echo `_common_dev_mount_options $*` $SCRATCH_OPTIONS $SCRATCH_FS_MOUNT_OPTS \
>  					$SCRATCH_DEV $SCRATCH_MNT
>  }
>  
> -- 
> 2.28.0



[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