Commit 044c8c9e authored by Dan Robertson's avatar Dan Robertson Committed by Kent Overstreet
Browse files

bcachefs: mount: fix null deref with null devname



 - Fix null deref on mount when given a null device name.
 - Move the dev_name checks to return EINVAL when it is invalid.

Signed-off-by: default avatarDan Robertson <dan@dlrobertson.com>
Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent a49e9a05
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment