Merge tag 'v2025.04-rc5' into next
Prepare v2025.04-rc5
This commit is contained in:
2
fs/fs.c
2
fs/fs.c
@@ -574,7 +574,7 @@ static int fs_read_lmb_check(const char *filename, ulong addr, loff_t offset,
|
||||
|
||||
lmb_dump_all();
|
||||
|
||||
if (lmb_alloc_addr(addr, read_len, LMB_NONE) == addr)
|
||||
if (!lmb_alloc_addr(addr, read_len, LMB_NONE))
|
||||
return 0;
|
||||
|
||||
log_err("** Reading file would overwrite reserved memory **\n");
|
||||
|
Reference in New Issue
Block a user