aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorKemeng Shi <[email protected]>2024-03-04 16:35:42 +0000
committerTheodore Ts'o <[email protected]>2024-03-07 18:32:54 +0000
commitad943758e0ebd881d031b657a3f389315bf3a101 (patch)
treefeedcf114c03e38b52c17418a5812a61f3fc0d5c /net/switchdev/switchdev.c
parentext4: alloc test super block from sget (diff)
downloadkernel-ad943758e0ebd881d031b657a3f389315bf3a101.tar.gz
kernel-ad943758e0ebd881d031b657a3f389315bf3a101.zip
ext4: hold group lock in ext4 kunit test
Although there is no concurrent block allocation/free in unit test, internal functions mb_mark_used and mb_free_blocks assert group lock is always held. Acquire group before calling mb_mark_used and mb_free_blocks in unit test to avoid the assertion. Signed-off-by: Kemeng Shi <[email protected]> Reported-by: Guenter Roeck <[email protected]> Tested-by: Guenter Roeck <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions