[sheepdog] [PATCH] sheepdog: Fix misleading error messages in sd_snapshot_create()

Kevin Wolf kwolf at redhat.com
Wed Mar 4 14:03:18 CET 2015


Am 12.02.2015 um 14:49 hat Markus Armbruster geschrieben:
> If do_sd_create() fails, it first reports the error returned, then
> reports a another one with strerror(errno).  errno is meaningless at
> that point.
> 
> Report just one error combining the valid information from both
> messages.
> 
> Reported-by: Eric Blake <eblake at redhat.com>
> Signed-off-by: Markus Armbruster <armbru at redhat.com>

Thanks, applied to the block branch.

Kevin



More information about the sheepdog mailing list