Skip to contentSkip to conversation

syscalls/ioctl: Remove requirement of loop driver

PATCH New zhaogongyi 2 participants 2 messages Feb 26, 2021

lore
Share & tools
lore

zhaogongyi

author
#0 lore raw

PATCH 1/1 syscalls/ioctl: Remove requirement of loop driver

Hi Yang,

Quoted 3 lines

1) I think .needs_driver can parse either CONFIG_BLK_DEV_LOOP=y or CONFIG_BLK_DEV_LOOP=m correctly.
Do you have any issue that .needs_driver cannot parse

I known the reason why test fail and report TCONF, there is no file modules.builtin on my system.

Quoted 4 lines

CONFIG_BLK_DEV_LOOP=y correctly?
2) If CONFIG_BLK_DEV_LOOP is not set, we would like to report TCONF by .needs_driver rather than TBROK by tst_find_free_loopdev().

It looks like good.

Thanks!

----------------------------------------------------------------------------------------------------

Quoted 16 lines · Zhao Gongyi
Quoted 3 lines

There is no loop driver when config CONFIG_BLK_DEV_LOOP is set to y, and we have check the loop device in tst_find_free_loopdev. So we can remove the requirement of loop driver.

Hi Zhongyi,

1) I think .needs_driver can parse either CONFIG_BLK_DEV_LOOP=y or CONFIG_BLK_DEV_LOOP=m correctly.
Do you have any issue that .needs_driver cannot parse
CONFIG_BLK_DEV_LOOP=y correctly?
2) If CONFIG_BLK_DEV_LOOP is not set, we would like to report TCONF by .needs_driver rather than TBROK by tst_find_free_loopdev().

Best Regards,
Xiao Yang

#1 lore raw

PATCH 1/1 syscalls/ioctl: Remove requirement of loop driver

Hi!

Quoted 5 lines
Quoted 3 lines

1) I think .needs_driver can parse either CONFIG_BLK_DEV_LOOP=y or CONFIG_BLK_DEV_LOOP=m correctly.
Do you have any issue that .needs_driver cannot parse

I known the reason why test fail and report TCONF, there is no file modules.builtin on my system.

Then I would say that your system is broken.

Signature · 2 lines
Cyril Hrubis
[email protected]