commit | e96a04dc5adec5d1434fe152bee0fca319c84f30 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@linaro.org> | Wed Jan 31 10:09:52 2024 +0300 |
committer | Tom Rini <trini@konsulko.com> | Tue Feb 06 16:31:07 2024 -0500 |
tree | e781dcc492d960106d9a9926b3261fec3cb0d602 | |
parent | 5452ebdae56bb40975f73afd2b54ac6a207de785 [diff] |
blk: host_dev: Fix error code in host_sb_attach_file() This error path should return -EINVAL instead of success. Fixes: e261fbf34785 ("blk: host_dev: Sanity check on the size of host backing file") Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>