Skip to content
Commit e5e7d8bb authored by Dan Carpenter's avatar Dan Carpenter Committed by Tom Rini
Browse files

blk: host_dev: Fix error code in host_sb_attach_file()



This error path should return -EINVAL instead of success.

Fixes: e261fbf3 ("blk: host_dev: Sanity check on the size of host backing file")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@linaro.org>
parent c59720c5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment