3
0
mirror of https://github.com/Qortal/Brooklyn.git synced 2025-01-30 23:02:18 +00:00

T3Q's sister a mister.

This commit is contained in:
Raziel K. Crowe 2022-03-22 19:06:17 +05:00
parent 2da4b5c5e4
commit 560ac6bd29
2 changed files with 2 additions and 3 deletions

View File

@ -455,6 +455,7 @@ static void mfd_fail_write(int fd)
printf("mmap()+mprotect() didn't fail as expected\n"); printf("mmap()+mprotect() didn't fail as expected\n");
abort(); abort();
} }
munmap(p, mfd_def_size);
} }
/* verify PUNCH_HOLE fails */ /* verify PUNCH_HOLE fails */

View File

@ -5417,9 +5417,7 @@ static int kvm_suspend(void)
static void kvm_resume(void) static void kvm_resume(void)
{ {
if (kvm_usage_count) { if (kvm_usage_count) {
#ifdef CONFIG_LOCKDEP lockdep_assert_not_held(&kvm_count_lock);
WARN_ON(lockdep_is_held(&kvm_count_lock));
#endif
hardware_enable_nolock(NULL); hardware_enable_nolock(NULL);
} }
} }