Skip to content

Conversation

@zhangxp1998
Copy link
Contributor

No description provided.

Copy link
Contributor

@schultetwin1 schultetwin1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One small change but looks good

if (!dev) {
printf("error opening block device %s\n", blkdev);
return -1;
return ERR_IO;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The only reason bio_open will return NULL is due to ERR_NOT_FOUND, so let's change this.

Suggested change
return ERR_IO;
return ERR_NOT_FOUND;

@zhangxp1998 zhangxp1998 force-pushed the master branch 3 times, most recently from 03f8336 to 3e73cb0 Compare September 3, 2025 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants