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:Dan Carpenter <dan.carpenter@linaro.org>
Loading
Please register or sign in to comment