mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 17:02:17 +00:00
The _cleanup helper function doesn't take any arguments, so drop them from its callers. Signed-off-by: Caleb Sander Mateos <[email protected]> Reviewed-by: Ming Lei <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jens Axboe <[email protected]>
20 lines
352 B
Bash
Executable File
20 lines
352 B
Bash
Executable File
#!/bin/bash
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
. "$(cd "$(dirname "$0")" && pwd)"/test_common.sh
|
|
|
|
ERR_CODE=0
|
|
|
|
_prep_test "loop" "mkfs & mount & umount"
|
|
|
|
_create_backfile 0 256M
|
|
dev_id=$(_add_ublk_dev -t loop "${UBLK_BACKFILES[0]}")
|
|
_check_add_dev $TID $?
|
|
|
|
_mkfs_mount_test /dev/ublkb"${dev_id}"
|
|
ERR_CODE=$?
|
|
|
|
_cleanup_test
|
|
|
|
_show_result $TID $ERR_CODE
|