projects
/
platform
/
kernel
/
linux-rpi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rpi4: boot: Update the firmwares for kernel v5.15.82 (fix booting issue)
[platform/kernel/linux-rpi.git]
/
fs
/
fs_context.c
diff --git
a/fs/fs_context.c
b/fs/fs_context.c
index
b7e43a7
..
24ce12f
100644
(file)
--- a/
fs/fs_context.c
+++ b/
fs/fs_context.c
@@
-548,7
+548,7
@@
static int legacy_parse_param(struct fs_context *fc, struct fs_parameter *param)
param->key);
}
- if (
len > PAGE_SIZE - 2 - size
)
+ if (
size + len + 2 > PAGE_SIZE
)
return invalf(fc, "VFS: Legacy: Cumulative options too large");
if (strchr(param->key, ',') ||
(param->type == fs_value_is_string &&