aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/fs/bcachefs/chardev.c
diff options
context:
space:
mode:
authorDan Robertson <dan@dlrobertson.com>2021-05-09 18:52:23 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 17:09:03 -0400
commitbaf056b87da88b0c9812d53f8b12072652d1c07b (patch)
treeb2e55977a1ad4c306d58cfeb63fcb65fb37f2f86 /fs/bcachefs/chardev.c
parentbcachefs: avoid out-of-bounds in split_devs (diff)
downloadwireguard-linux-baf056b87da88b0c9812d53f8b12072652d1c07b.tar.xz
wireguard-linux-baf056b87da88b0c9812d53f8b12072652d1c07b.zip
bcachefs: Fix error in parsing of mount options
When parsing the mount options duplicate the given options. This is required as the options are parsed twice and strsep is used in parsing. The options will be modified into a possibly invalid options set for the second round of parsing if the options are not duplicated before parsing. Signed-off-by: Dan Robertson <dan@dlrobertson.com> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/chardev.c')
0 files changed, 0 insertions, 0 deletions