Seem commit: 99d055b4fd4b ("block: remove per-disk debugfs files in blk_unregister_queue") Signed-off-by: Yi Zhang <yi.zhang@xxxxxxxxxx> --- tests/block/002 | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/block/002 b/tests/block/002 index 9b183e7..15b47a6 100755 --- a/tests/block/002 +++ b/tests/block/002 @@ -25,9 +25,6 @@ test() { blktrace -D "$TMP_DIR" "/dev/${SCSI_DEBUG_DEVICES[0]}" >"$FULL" 2>&1 & sleep 0.5 echo 1 > "/sys/block/${SCSI_DEBUG_DEVICES[0]}/device/delete" - if [[ ! -d /sys/kernel/debug/block/${SCSI_DEBUG_DEVICES[0]} ]]; then - echo "debugfs directory deleted with blktrace active" - fi { kill $!; wait; } >/dev/null 2>/dev/null if [[ -d /sys/kernel/debug/block/${SCSI_DEBUG_DEVICES[0]} ]]; then echo "debugfs directory leaked" -- 2.34.1